File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 11'use strict' ;
22
3+ const execa = require ( 'execa' ) ;
4+ const semver = require ( 'semver' ) ;
35const fs = require ( 'fs-extra' ) ;
46const ember = require ( '../helpers/ember' ) ;
57const walkSync = require ( 'walk-sync' ) ;
@@ -270,6 +272,13 @@ describe('Acceptance: ember new', function () {
270272 } ) ;
271273
272274 it ( 'ember new with shorthand git blueprint and ref checks out the blueprint with the correct ref and uses it' , async function ( ) {
275+ // Temporarily skipped for npm versions <= v6.0.0.
276+ // See https://github.com/npm/cli/issues/4896 for more info.
277+ let { stdout : npmVersion } = await execa ( 'npm' , [ '-v' ] ) ;
278+ if ( semver . major ( npmVersion ) <= 6 ) {
279+ this . skip ( ) ;
280+ }
281+
273282 this . timeout ( 20000 ) ; // relies on GH network stuff
274283
275284 await ember ( [
You can’t perform that action at this time.
0 commit comments