Skip to content

Commit

Permalink
Merge pull request #10043 from kellyselden/ci-temp-fix
Browse files Browse the repository at this point in the history
Temporarily skip failing ember new test for npm versions <= v6.0.0
  • Loading branch information
kellyselden committed Oct 4, 2022
2 parents 53b5dcc + f4a55cf commit 1376857
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/acceptance/new-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
'use strict';

const execa = require('execa');
const semver = require('semver');
const fs = require('fs-extra');
const ember = require('../helpers/ember');
const walkSync = require('walk-sync');
Expand Down Expand Up @@ -270,6 +272,13 @@ describe('Acceptance: ember new', function () {
});

it('ember new with shorthand git blueprint and ref checks out the blueprint with the correct ref and uses it', async function () {
// Temporarily skipped for npm versions <= v6.0.0.
// See https://github.com/npm/cli/issues/4896 for more info.
let { stdout: npmVersion } = await execa('npm', ['-v']);
if (semver.major(npmVersion) <= 6) {
this.skip();
}

this.timeout(20000); // relies on GH network stuff

await ember([
Expand Down

0 comments on commit 1376857

Please sign in to comment.