Skip to content

Commit 5097c98

Browse files
committed
Fix
1 parent 8011c7f commit 5097c98

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

packages/@ember/engine/tests/resolver/basic-test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { StrictResolver } from '@ember/engine/lib/strict-resolver';
22

33
import * as QUnit from 'qunit';
4-
const { module, test } = QUnit;
4+
const { test } = QUnit;
55

6-
module('StrictResolver', function (hooks) {
6+
QUnit.module('StrictResolver', function (hooks) {
77
let resolver;
88
let modules;
99

@@ -12,7 +12,7 @@ module('StrictResolver', function (hooks) {
1212
resolver = new StrictResolver(modules);
1313
});
1414

15-
module('#resolve + #addModules', function () {
15+
QUnit.module('#resolve + #addModules', function () {
1616
test('resolves the standard ember types via default pluralization', function (assert) {
1717
// All of these go through the same `type + 's' -> dir` path. One table-
1818
// driven test keeps the coverage without nine copies of the same setup.
@@ -63,7 +63,7 @@ module('StrictResolver', function (hooks) {
6363
});
6464
});
6565

66-
module('#addModules + normalization', function () {
66+
QUnit.module('#addModules + normalization', function () {
6767
test('normalization', function (assert) {
6868
assert.strictEqual(resolver.normalize('controller:posts'), 'controller:posts');
6969
assert.strictEqual(resolver.normalize('controller:postsIndex'), 'controller:posts-index');

packages/@ember/engine/tests/resolver/registry_test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import Service from '@ember/service';
44
import { run } from '@ember/runloop';
55
import type ApplicationInstance from '@ember/application/instance';
66

7-
const { module, test } = QUnit;
7+
const { test } = QUnit;
88

9-
module('strict-resolver | Application with modules', function (hooks) {
9+
QUnit.module('strict-resolver | Application with modules', function (hooks) {
1010
let app: Application | undefined;
1111
let instance: ApplicationInstance | undefined;
1212

0 commit comments

Comments
 (0)