Skip to content

Commit 68996c0

Browse files
committed
chore: ah windows, if it isn't your choice of path delimiters
1 parent 67cacef commit 68996c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/commands/run.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,14 +267,14 @@ describe('apify run', () => {
267267
expect(existsSync(joinPath(getLocalRequestQueuePath()))).toStrictEqual(false);
268268
});
269269

270-
it('run with purge works without storage folder', async () => {
270+
it.only('run with purge works without storage folder', async () => {
271271
await rimrafPromised(getLocalStorageDir());
272272

273273
writeFileSync(
274274
joinPath('src/main.js'),
275275
`
276276
import { writeFileSync } from 'node:fs';
277-
writeFileSync('${joinPath('result.txt')}', 'hello world');
277+
writeFileSync(String.raw\`${joinPath('result.txt')}\`, 'hello world');
278278
`,
279279
{ flag: 'w' },
280280
);

0 commit comments

Comments
 (0)