8000 Merge pull request #10043 from kellyselden/ci-temp-fix · ember-cli/ember-cli@1376857 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1376857

Browse files
authored
Merge pull request #10043 from kellyselden/ci-temp-fix
Temporarily skip failing ember new test for npm versions <= v6.0.0
2 parents 53b5dcc + f4a55cf commit 1376857

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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');
@@ -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([

0 commit comments

Comments
 (0)
0