move utils to seperate files and folder, update imports

This commit is contained in:
Michael C
2021-09-21 02:02:17 -04:00
parent d4d9f2d4d7
commit 5758f6512d
28 changed files with 201 additions and 54 deletions

11
test/utils/utils.ts Normal file
View File

@@ -0,0 +1,11 @@
/**
* Duplicated from Mocha types. TypeScript doesn't infer that type by itself for some reason.
*/
export type Done = (err?: any) => void;
export const postJSON = {
method: "POST",
headers: {
"Content-Type": "application/json",
},
};