Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

fix(aot): the manifest grew a field and the criterion kept asking the old shape

esenginec60ba192da7c
diff --git a/pipeline/tests/export-aot.test.ts b/pipeline/tests/export-aot.test.ts
index 3ccf9c8df..02563016c 100644
--- a/pipeline/tests/export-aot.test.ts
+++ b/pipeline/tests/export-aot.test.ts
@@ -99,6 +99,7 @@ describe('the promised systems in a web package', () => {
queries: { comp: string; mut: boolean }[][];
resources: { name: string; mut: boolean }[];
readers: unknown[]; writers: unknown[];
+ commands: boolean;
}[];
};
};
@@ -114,6 +115,9 @@ describe('the promised systems in a web package', () => {
// never has to tell "none" from "an older manifest".
readers: [],
writers: [],
+ // Declared for the same reason, and false here: this system writes
+ // components directly rather than queueing commands.
+ commands: false,
}]);
expect(cfg.aot?.manifest.engineAbi).toMatch(/^[0-9a-f]{16}$/);
});