Skip to content

Commit fd5316e

Browse files
committed
test: move BOM fixture out of a template literal (no-irregular-whitespace)
1 parent 5f98531 commit fd5316e

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

src/commands/test.test.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3414,12 +3414,13 @@ describe('runExport / runImport', () => {
34143414
const file = join(dir, 'def.testsprite.json');
34153415
writeFileSync(
34163416
file,
3417-
`${JSON.stringify({
3418-
schemaVersion: 1,
3419-
projectId: 'project_alice',
3420-
type: 'backend',
3421-
name: 'BOM test',
3422-
})}`,
3417+
'' +
3418+
JSON.stringify({
3419+
schemaVersion: 1,
3420+
projectId: 'project_alice',
3421+
type: 'backend',
3422+
name: 'BOM test',
3423+
}),
34233424
'utf8',
34243425
);
34253426
const fetchImpl = (async () =>

0 commit comments

Comments
 (0)