mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 05:12:55 -07:00
run bom test on windows (#11828)
This commit is contained in:
@@ -9,9 +9,6 @@ import { writeFileSync, readFileSync } from 'node:fs';
|
|||||||
import { join, resolve } from 'node:path';
|
import { join, resolve } from 'node:path';
|
||||||
import { TestRig } from './test-helper.js';
|
import { TestRig } from './test-helper.js';
|
||||||
|
|
||||||
// Windows skip (Option A: avoid infra scope)
|
|
||||||
const d = process.platform === 'win32' ? describe.skip : describe;
|
|
||||||
|
|
||||||
// BOM encoders
|
// BOM encoders
|
||||||
const utf8BOM = (s: string) =>
|
const utf8BOM = (s: string) =>
|
||||||
Buffer.concat([Buffer.from([0xef, 0xbb, 0xbf]), Buffer.from(s, 'utf8')]);
|
Buffer.concat([Buffer.from([0xef, 0xbb, 0xbf]), Buffer.from(s, 'utf8')]);
|
||||||
@@ -53,7 +50,7 @@ const utf32BE = (s: string) => {
|
|||||||
let rig: TestRig;
|
let rig: TestRig;
|
||||||
let dir: string;
|
let dir: string;
|
||||||
|
|
||||||
d('BOM end-to-end integration', () => {
|
describe('BOM end-to-end integraion', () => {
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
rig = new TestRig();
|
rig = new TestRig();
|
||||||
await rig.setup('bom-integration');
|
await rig.setup('bom-integration');
|
||||||
|
|||||||
Reference in New Issue
Block a user