Skip to content

Commit fb18138

Browse files
committed
chore: windows fs 👏
1 parent 33a067d commit fb18138

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/commands/pull.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { readFileSync, writeFileSync } from 'node:fs';
22
import { access, mkdir, rm } from 'node:fs/promises';
33
import { join } from 'node:path';
4+
import { setTimeout } from 'node:timers/promises';
45

56
import type { ActorCollectionCreateOptions } from 'apify-client';
67

@@ -204,6 +205,8 @@ describe('apify pull', () => {
204205
setProcessCwd(join(cwd, 'pull-test-no-name'));
205206
await runCommand(ActorsPullCommand, {});
206207

208+
await setTimeout(500);
209+
207210
const exists = await access(join('pull-test-no-name', 'src', '__init__.py'))
208211
.then(() => true)
209212
.catch(() => false);

0 commit comments

Comments
 (0)