feat(housekeeping): cut over administration to ase
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { ownedLegacyPages } from "./discover-legacy-pages";
|
||||
import { ownedLegacyPages, recordedLegacyPages } from "./discover-legacy-pages";
|
||||
import { economyMigrationEntries } from "./economy";
|
||||
import { HOUSEKEEPING_MIGRATION_MATRIX } from "./matrix";
|
||||
import { validateMigrationEntries } from "./validate-matrix";
|
||||
|
||||
const ECONOMY_PREFIXES = [
|
||||
@@ -20,7 +21,10 @@ const ECONOMY_PREFIXES = [
|
||||
|
||||
describe("economyMigrationEntries", () => {
|
||||
it("covers every economy page without legacy-domain targets", () => {
|
||||
const expected = ownedLegacyPages(ECONOMY_PREFIXES);
|
||||
const expected = ownedLegacyPages(
|
||||
ECONOMY_PREFIXES,
|
||||
recordedLegacyPages(HOUSEKEEPING_MIGRATION_MATRIX),
|
||||
);
|
||||
expect(validateMigrationEntries(expected, economyMigrationEntries)).toEqual(
|
||||
[],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user