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 ee2b104 commit 39dd99fCopy full SHA for 39dd99f
1 file changed
test-utils/pools/token-factory-docker.ts
@@ -1,6 +1,7 @@
1
import crypto from "node:crypto";
2
3
import { type mastodon } from "../../src";
4
+import { sleep } from "../../src/utils";
5
import { type Tootctl } from "../tootctl";
6
import { type TokenFactory } from "./token-factory";
7
@@ -23,6 +24,9 @@ export class TokenFactoryDocker implements TokenFactory {
23
24
confirmed: true,
25
});
26
27
+ // Wait for the new account to be available
28
+ await sleep(5000);
29
+
30
if (this.app.clientId == undefined || this.app.clientSecret == undefined) {
31
throw new Error("App not created");
32
}
0 commit comments