We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa48dac commit 343d86cCopy full SHA for 343d86c
1 file changed
scripts/commands/commands-tests.ts
@@ -0,0 +1,11 @@
1
+import { Commands } from "./index.js";
2
+
3
+let timerA = Date.now();
4
+Commands.run("say Hello World");
5
+console.warn(`Commands.run time: ${Date.now() - timerA} ms`);
6
7
+let timerB = Date.now();
8
+Commands.runAsync("say Hello World in async");
9
+console.warn(`Commands.runAsync time: ${Date.now() - timerB} ms`);
10
11
+console.log("End of test");
0 commit comments