scripts: the pack gate asserts checkPayloadDepth is exported, and CI runs it
cultcache-ts 0.14.1 re-exports checkPayloadDepth from the document entry on purpose, but the closure script still asserted it undefined, so test:pack:ts was red and no workflow ran it. The assertion now expects a function and the TypeScript job of cultmesh-portability.yml runs the gate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
289d7f7d49
commit
a3137cf3a6
2 changed files with 6 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ for (const [entryName, entry] of Object.entries(entries)) {
|
|||
}
|
||||
}
|
||||
}
|
||||
assert.equal(typeof documentEntry.checkPayloadDepth, "undefined");
|
||||
assert.equal(typeof documentEntry.checkPayloadDepth, "function");
|
||||
assert.equal(documentEntry.MAX_PAYLOAD_DEPTH, 256);
|
||||
assert.equal(cache.MAX_PAYLOAD_DEPTH, 256);
|
||||
assert.equal(documentEntry.CultCachePayloadDepthError, cache.CultCachePayloadDepthError);
|
||||
|
|
|
|||
Loading…
Reference in a new issue