Skip to content

Commit 6c60105

Browse files
authored
Merge pull request #20880 from Windvis/cleanup-ember-cli-qunit-tests
2 parents 3261337 + a9c7b91 commit 6c60105

File tree

106 files changed

+483
-1644
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+483
-1644
lines changed

blueprints/acceptance-test/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ const stringUtils = require('ember-cli-string-utils');
77

88
const typescriptBlueprintPolyfill = require('ember-cli-typescript-blueprint-polyfill');
99
const { modulePrefixForProject } = require('../-utils');
10-
const useTestFrameworkDetector = require('../test-framework-detector');
1110

12-
module.exports = useTestFrameworkDetector({
11+
module.exports = {
1312
description: 'Generates an acceptance test for a feature.',
1413

1514
shouldTransformTypeScript: true,
@@ -42,4 +41,4 @@ module.exports = useTestFrameworkDetector({
4241
destroyAppExists,
4342
};
4443
},
45-
});
44+
};

blueprints/acceptance-test/qunit-files/tests/acceptance/__name__-test.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

blueprints/component-test/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@ const semver = require('semver');
88

99
const typescriptBlueprintPolyfill = require('ember-cli-typescript-blueprint-polyfill');
1010
const { modulePrefixForProject } = require('../-utils');
11-
const useTestFrameworkDetector = require('../test-framework-detector');
1211

1312
function invocationFor(options) {
1413
let parts = options.entity.name.split('/');
1514
return parts.map((p) => stringUtil.classify(p)).join('::');
1615
}
1716

18-
module.exports = useTestFrameworkDetector({
17+
module.exports = {
1918
description: 'Generates a component integration or unit test.',
2019

2120
shouldTransformTypeScript: true,
@@ -118,4 +117,4 @@ module.exports = useTestFrameworkDetector({
118117
]);
119118
}
120119
},
121-
});
120+
};

blueprints/component-test/qunit-files/__root__/__testType__/__path__/__test__.js

Lines changed: 0 additions & 31 deletions
This file was deleted.

blueprints/controller-test/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22

33
const stringUtil = require('ember-cli-string-utils');
44

5-
const useTestFrameworkDetector = require('../test-framework-detector');
65
const path = require('path');
76

87
const typescriptBlueprintPolyfill = require('ember-cli-typescript-blueprint-polyfill');
98
const { modulePrefixForProject } = require('../-utils');
109

11-
module.exports = useTestFrameworkDetector({
10+
module.exports = {
1211
description: 'Generates a controller unit test.',
1312

1413
shouldTransformTypeScript: true,
@@ -44,4 +43,4 @@ module.exports = useTestFrameworkDetector({
4443
},
4544
};
4645
},
47-
});
46+
};

blueprints/controller-test/qunit-files/__root__/__testType__/__path__/__test__.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)