We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33a067d commit fb18138Copy full SHA for fb18138
test/commands/pull.test.ts
@@ -1,6 +1,7 @@
1
import { readFileSync, writeFileSync } from 'node:fs';
2
import { access, mkdir, rm } from 'node:fs/promises';
3
import { join } from 'node:path';
4
+import { setTimeout } from 'node:timers/promises';
5
6
import type { ActorCollectionCreateOptions } from 'apify-client';
7
@@ -204,6 +205,8 @@ describe('apify pull', () => {
204
205
setProcessCwd(join(cwd, 'pull-test-no-name'));
206
await runCommand(ActorsPullCommand, {});
207
208
+ await setTimeout(500);
209
+
210
const exists = await access(join('pull-test-no-name', 'src', '__init__.py'))
211
.then(() => true)
212
.catch(() => false);
0 commit comments