cultnet-ts: pin the text() sanitiser around a chunk's hash and id
The lone-surrogate row now carries the value in the chunk hash and id slots, so removing text() there fails. Closes follow_up content-id-sanitiser-pin's pin. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
74bcf075a4
commit
bd40c05dff
1 changed files with 1 additions and 1 deletions
|
|
@ -450,7 +450,7 @@ test("a lone surrogate is written as U+FFFD at every string length, short and lo
|
|||
const withText = (value: string): CultMeshCdnArtifactManifest => ({
|
||||
...base,
|
||||
artifactId: value, kind: value, version: value, mimeType: value, createdAtUtc: value,
|
||||
chunks: [{ ...base.chunks[0]!, recordKey: value }],
|
||||
chunks: [{ ...base.chunks[0]!, chunkHash: value, recordKey: value, id: value }],
|
||||
tags: [value],
|
||||
metadata: [[value, value]],
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue