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 1
1
'use strict' ;
2
2
3
+ const execa = require ( 'execa' ) ;
4
+ const semver = require ( 'semver' ) ;
3
5
const fs = require ( 'fs-extra' ) ;
4
6
const ember = require ( '../helpers/ember' ) ;
5
7
const walkSync = require ( 'walk-sync' ) ;
@@ -270,6 +272,13 @@ describe('Acceptance: ember new', function () {
270
272
} ) ;
271
273
272
274
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
+
273
282
this . timeout ( 20000 ) ; // relies on GH network stuff
274
283
275
284
await ember ( [
You can’t perform that action at this time.
0 commit comments