Skip to content

Commit d051954

Browse files
committed
Temporarily skip failing ember new test for npm versions <= v6.0.0
1 parent bb2d827 commit d051954

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

tests/acceptance/new-test.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
'use strict';
22

3+
const execa = require('execa');
4+
const semver = require('semver');
35
const fs = require('fs-extra');
46
const ember = require('../helpers/ember');
57
const walkSync = require('walk-sync');
@@ -277,6 +279,13 @@ describe('Acceptance: ember new', function () {
277279
});
278280

279281
it('ember new with shorthand git blueprint and ref checks out the blueprint with the correct ref and uses it', async function () {
282+
// Temporarily skipped for npm versions <= v6.0.0.
283+
// See https://github.com/npm/cli/issues/4896 for more info.
284+
let { stdout: npmVersion } = await execa('npm', ['-v']);
285+
if (semver.major(npmVersion) <= 6) {
286+
this.skip();
287+
}
288+
280289
this.timeout(20000); // relies on GH network stuff
281290

282291
await ember([

0 commit comments

Comments
 (0)