diff --git a/node-tests/fixtures/default/expected6.js b/node-tests/fixtures/default/expected6.js deleted file mode 100644 index c70dff67..00000000 --- a/node-tests/fixtures/default/expected6.js +++ /dev/null @@ -1,11 +0,0 @@ -import Ember from 'ember'; - -export default Ember.Component.extend({ - foo: 'foo', - 'data-test': 'test', - 'metadata-test-foo': 'metadata' -}); - -export let c2 = Ember.Component.extend({ - foo: 'foo' -}); diff --git a/node-tests/multidep.json b/node-tests/multidep.json deleted file mode 100644 index 8c371447..00000000 --- a/node-tests/multidep.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "path": "node-tests/multidep_modules", - "versions": { - "babel-core": ["6.24.0"] - } -} diff --git a/node-tests/strip-data-test-properties-plugin-test.js b/node-tests/strip-data-test-properties-plugin-test.js index 21a3a293..ab7d1720 100644 --- a/node-tests/strip-data-test-properties-plugin-test.js +++ b/node-tests/strip-data-test-properties-plugin-test.js @@ -1,27 +1,12 @@ let fs = require('fs'); let assert = require('assert'); -let multidepRequire = require('multidep')('node-tests/multidep.json'); -let babel6 = multidepRequire('babel-core', '6.24.0'); let babel7 = require('@babel/core'); let StripDataTestPropertiesPlugin6 = require('../strip-data-test-properties-plugin6'); function testFixture(name) { - it(`Babel6: fixture: ${name}`, function() { - let fixturePath = `${__dirname}/fixtures/${name}/fixture.js`; - let expectedPath = `${__dirname}/fixtures/${name}/expected6.js`; - - let expected = fs.readFileSync(expectedPath, 'utf8').replace(/\r\n/g, '\n'); - - let result = babel6.transformFileSync(fixturePath, { - plugins: [StripDataTestPropertiesPlugin6], - }); - - assert.strictEqual(result.code.trim(), expected.trim()); - }); - - it(`Babel7: fixture: ${name}`, function() { + it(`fixture: ${name}`, function() { let fixturePath = `${__dirname}/fixtures/${name}/fixture.js`; let expectedPath = `${__dirname}/fixtures/${name}/expected7.js`; diff --git a/package.json b/package.json index f1779468..e04af71d 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,6 @@ "test": "npm run test:keep && npm run test:strip", "test:all": "ember try:each", "test:keep": "ember test", - "pretest:node": "multidep node-tests/multidep.json", "test:node": "mocha node-tests", "test:strip": "STRIP_TEST_SELECTORS=true ember test" }, @@ -53,7 +52,6 @@ "lerna-changelog": "1.0.1", "loader.js": "4.7.0", "mocha": "8.4.0", - "multidep": "2.0.2", "qunit": "2.16.0", "qunit-dom": "1.6.0", "release-it": "14.10.0", diff --git a/yarn.lock b/yarn.lock index 76098893..429694d7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8766,15 +8766,6 @@ ms@2.1.3, ms@^2.0.0, ms@^2.1.1: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== -multidep@2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/multidep/-/multidep-2.0.2.tgz#ffa2b97791bc4c879267dc3f7324c207b2decc67" - integrity sha1-/6K5d5G8TIeSZ9w/cyTCB7LezGc= - dependencies: - rimraf "^2.4.3" - rsvp "^3.1.0" - spawn-cmd "0.0.2" - mustache@^3.0.0: version "3.2.1" resolved "https://registry.yarnpkg.com/mustache/-/mustache-3.2.1.tgz#89e78a9d207d78f2799b1e95764a25bf71a28322" @@ -10336,7 +10327,7 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: hash-base "^3.0.0" inherits "^2.0.1" -rsvp@^3.0.14, rsvp@^3.0.17, rsvp@^3.0.18, rsvp@^3.0.21, rsvp@^3.1.0: +rsvp@^3.0.14, rsvp@^3.0.17, rsvp@^3.0.18, rsvp@^3.0.21: version "3.6.2" resolved "https://registry.yarnpkg.com/rsvp/-/rsvp-3.6.2.tgz#2e96491599a96cde1b515d5674a8f7a91452926a" integrity sha512-OfWGQTb9vnwRjwtA2QwpG2ICclHC3pgXZO5xt8H2EfgDquO0qVdSb5T88L4qJVAEugbS56pAuV4XZM58UX8ulw== @@ -10834,11 +10825,6 @@ spawn-args@^0.2.0: resolved "https://registry.yarnpkg.com/spawn-args/-/spawn-args-0.2.0.tgz#fb7d0bd1d70fd4316bd9e3dec389e65f9d6361bb" integrity sha1-+30L0dcP1DFr2ePew4nmX51jYbs= -spawn-cmd@0.0.2: - version "0.0.2" - resolved "https://registry.yarnpkg.com/spawn-cmd/-/spawn-cmd-0.0.2.tgz#6d5e251fad0eab00b0f193d245669a7a228ec0de" - integrity sha1-bV4lH60OqwCw8ZPSRWaaeiKOwN4= - split-on-first@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f"