Skip to content

Commit a6aeb6d

Browse files
committed
test(cli): drop the batch BOM test #6605 already covers
1 parent f0ba17b commit a6aeb6d

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

‎packages/cli/src/commands/batchRender.test.ts‎

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -125,19 +125,6 @@ describe("prepareBatchRender", () => {
125125
expect(prepared.manifestPath).toBe(resolve(outDir, "manifest.json"));
126126
});
127127

128-
it("reads a --batch file saved with a UTF-8 BOM", () => {
129-
const batchPath = writeJson("bom-rows.json", '\uFEFF[{"name":"Alice"}]');
130-
const prepared = prepareBatchRender({
131-
batchPath,
132-
outputTemplate: join(tmpDir, "renders", "{name}.mp4"),
133-
indexPath: writeIndex(),
134-
strictVariables: false,
135-
quiet: true,
136-
json: false,
137-
});
138-
expect(prepared.rows).toHaveLength(1);
139-
});
140-
141128
it("rejects output collisions before rendering", () => {
142129
const batchPath = writeJson("rows.json", '[{"name":"Alice"},{"name":"Bob"}]');
143130
const error = expectBatchError(

0 commit comments

Comments
 (0)