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.
2 parents 08c6031 + 343d86c commit 34a724cCopy full SHA for 34a724c
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