Create CI workflow and tests

This commit is contained in:
Nick Alteen
2023-08-23 13:39:12 -04:00
parent 3cfb7ea35a
commit 464b2658f0
8 changed files with 513 additions and 111 deletions

View File

@@ -1,3 +1,8 @@
/**
* Wait for a number of milliseconds.
* @param milliseconds The number of milliseconds to wait.
* @returns {Promise<string>} Resolves with 'done!' after the wait is over.
*/
export async function wait(milliseconds: number): Promise<string> {
return new Promise(resolve => {
if (isNaN(milliseconds)) {