refactor: 리펙토링
This commit is contained in:
@@ -6,8 +6,12 @@ import {
|
||||
} from "../../src/contracts/release-tokens.ts";
|
||||
|
||||
describe("release coherence", () => {
|
||||
it("owns all eight release tokens and keeps builtAt diagnostic-only", () => {
|
||||
expect(Object.keys(RELEASE_TOKEN_REGISTRY)).toHaveLength(8);
|
||||
it("owns all nine release tokens and keeps builtAt diagnostic-only", () => {
|
||||
// §5.2 adds contractSetDigest beside the legacy apiContractVersion scalar.
|
||||
expect(Object.keys(RELEASE_TOKEN_REGISTRY)).toHaveLength(9);
|
||||
expect(RELEASE_TOKEN_REGISTRY.contractSetDigest.compatibilityRole).toContain(
|
||||
"multi-package",
|
||||
);
|
||||
expect(RELEASE_TOKEN_REGISTRY.builtAt.compatibilityRole).toContain(
|
||||
"never cache identity",
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user