Skip to content

Commit 512ad87

Browse files
committed
Remove redundant setupTest invocation.
This resolves the error when using ember-destroyable-polyfill and calling `setupContext` (from `@ember/test-helpers`) multiple times with the same test context.
1 parent 0afb285 commit 512ad87

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/unit/qunit/filter-test-modules-test.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ if (macroCondition(dependencySatisfies('ember-qunit', '*'))) {
66
let { module, test } = importSync('qunit');
77
let { setupTest } = importSync('ember-qunit');
88

9-
module('Unit | Qunit | filter-test-modules', function(hooks) {
10-
setupTest(hooks);
11-
9+
module('Unit | Qunit | filter-test-modules', function() {
1210
module('covertFilePathToModulePath', function(hooks) {
1311
setupTest(hooks);
1412

0 commit comments

Comments
 (0)