mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 12:00:44 +00:00
test: add published upgrade survivor lane (#75221)
* test: add published upgrade survivor lane * test: keep published upgrade exit chunk
This commit is contained in:
committed by
GitHub
parent
919a68c64d
commit
c0058fda2f
@@ -91,8 +91,10 @@ describe("runtime postbuild static assets", () => {
|
||||
|
||||
writeLegacyCliExitCompatChunks({ rootDir });
|
||||
|
||||
await expect(
|
||||
fs.readFile(path.join(rootDir, "dist", "memory-state-CcqRgDZU.js"), "utf8"),
|
||||
).resolves.toContain("function hasMemoryRuntime()");
|
||||
for (const chunk of ["memory-state-CcqRgDZU.js", "memory-state-DwGdReW4.js"]) {
|
||||
await expect(fs.readFile(path.join(rootDir, "dist", chunk), "utf8")).resolves.toContain(
|
||||
"function hasMemoryRuntime()",
|
||||
);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user