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 78a7df6 commit f30330aCopy full SHA for f30330a
demo/redirect-flow-example/testUtils.ts
@@ -0,0 +1,17 @@
1
+import ChanceJS from "chance";
2
+
3
+export function generateEmailWithTag() {
4
+ // Randomly generating the tag...
5
+ const chance = new ChanceJS();
6
+ const tag = chance.string({
7
+ length: 12,
8
+ pool: "abcdefghijklmnopqrstuvwxyz0123456789",
9
+ });
10
+ return `kelg8.${tag}@inbox.testmail.app`;
11
+}
12
13
+export function delay(time: number | undefined) {
14
+ return new Promise(function (resolve) {
15
+ setTimeout(resolve, time);
16
17
demo/redirect-flow-example/tsconfig.json
@@ -17,7 +17,7 @@
"target": "ESNext",
18
"types": ["vite/client"]
19
},
20
- "include": ["src"]
+ "include": ["src", "tests/test1.test.ts", "utils"]
21
}
22
23
0 commit comments