mirror of
https://github.com/discourse/discourse-custom-header-links.git
synced 2025-03-06 18:09:06 +00:00
DEV: Add theme name prefix to test names (#57)
This commit is contained in:
parent
4cc2a57c21
commit
fcb3af9c9f
@ -1,7 +1,9 @@
|
||||
import { module, test } from "qunit";
|
||||
import migrate from "../../../../migrations/settings/0001-rename-settings";
|
||||
|
||||
module("Unit | Migrations | Settings | 0001-rename-settings", function () {
|
||||
module(
|
||||
"Custom Header Links | Unit | Migrations | Settings | 0001-rename-settings",
|
||||
function () {
|
||||
test("migrate", function (assert) {
|
||||
const settings = new Map(
|
||||
Object.entries({
|
||||
@ -22,4 +24,5 @@ module("Unit | Migrations | Settings | 0001-rename-settings", function () {
|
||||
)
|
||||
);
|
||||
});
|
||||
});
|
||||
}
|
||||
);
|
||||
|
@ -2,7 +2,7 @@ import { module, test } from "qunit";
|
||||
import migrate from "../../../../migrations/settings/0002-migrate-custom-header-links";
|
||||
|
||||
module(
|
||||
"Unit | Migrations | Settings | 0002-migrate-custom-header-links",
|
||||
"Custom Header Links | Migrations | Settings | 0002-migrate-custom-header-links",
|
||||
function () {
|
||||
test("migrate when value of setting is already an array", function (assert) {
|
||||
const settings = new Map(
|
||||
|
Loading…
x
Reference in New Issue
Block a user