mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
fix(test): fix plugins test on win (#13860)
This commit is contained in:
parent
a1b10c3856
commit
1ffd18f131
@ -22,7 +22,7 @@ test('event order', async ({ runInlineTest, legacyConfigLoader }, testInfo) => {
|
|||||||
const result = await runInlineTest({
|
const result = await runInlineTest({
|
||||||
'log.ts': `
|
'log.ts': `
|
||||||
import { appendFileSync } from 'fs';
|
import { appendFileSync } from 'fs';
|
||||||
const log = (...args) => appendFileSync('${log}', args.join(' ') + '\\n');
|
const log = (...args) => appendFileSync('${log.replace(/\\/g, '\\\\')}', args.join(' ') + '\\n');
|
||||||
export default log;
|
export default log;
|
||||||
`,
|
`,
|
||||||
'test.spec.ts': `
|
'test.spec.ts': `
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user