Skip to content

Commit fcb3af9

Browse files
authored
DEV: Add theme name prefix to test names (#57)
1 parent 4cc2a57 commit fcb3af9

File tree

2 files changed

+23
-20
lines changed

2 files changed

+23
-20
lines changed
Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,28 @@
11
import { module, test } from "qunit";
22
import migrate from "../../../../migrations/settings/0001-rename-settings";
33

4-
module("Unit | Migrations | Settings | 0001-rename-settings", function () {
5-
test("migrate", function (assert) {
6-
const settings = new Map(
7-
Object.entries({
8-
Custom_header_links: "some,links",
9-
})
10-
);
4+
module(
5+
"Custom Header Links | Unit | Migrations | Settings | 0001-rename-settings",
6+
function () {
7+
test("migrate", function (assert) {
8+
const settings = new Map(
9+
Object.entries({
10+
Custom_header_links: "some,links",
11+
})
12+
);
1113

12-
const result = migrate(settings);
14+
const result = migrate(settings);
1315

14-
assert.deepEqual(
15-
Array.from(result),
16-
Array.from(
17-
new Map(
18-
Object.entries({
19-
custom_header_links: "some,links",
20-
})
16+
assert.deepEqual(
17+
Array.from(result),
18+
Array.from(
19+
new Map(
20+
Object.entries({
21+
custom_header_links: "some,links",
22+
})
23+
)
2124
)
22-
)
23-
);
24-
});
25-
});
25+
);
26+
});
27+
}
28+
);

test/unit/migrations/settings/0002-migrate-custom-header-links-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { module, test } from "qunit";
22
import migrate from "../../../../migrations/settings/0002-migrate-custom-header-links";
33

44
module(
5-
"Unit | Migrations | Settings | 0002-migrate-custom-header-links",
5+
"Custom Header Links | Migrations | Settings | 0002-migrate-custom-header-links",
66
function () {
77
test("migrate when value of setting is already an array", function (assert) {
88
const settings = new Map(

0 commit comments

Comments
 (0)