run bom test on windows (#11828)

This commit is contained in:
Sehoon Shon
2025-10-24 11:46:52 -04:00
committed by GitHub
parent d915525c8e
commit 978fbcf95e

View File

@@ -9,9 +9,6 @@ import { writeFileSync, readFileSync } from 'node:fs';
import { join, resolve } from 'node:path';
import { TestRig } from './test-helper.js';
// Windows skip (Option A: avoid infra scope)
const d = process.platform === 'win32' ? describe.skip : describe;
// BOM encoders
const utf8BOM = (s: string) =>
Buffer.concat([Buffer.from([0xef, 0xbb, 0xbf]), Buffer.from(s, 'utf8')]);
@@ -53,7 +50,7 @@ const utf32BE = (s: string) => {
let rig: TestRig;
let dir: string;
d('BOM end-to-end integration', () => {
describe('BOM end-to-end integraion', () => {
beforeAll(async () => {
rig = new TestRig();
await rig.setup('bom-integration');