mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-11 14:07:09 +03:00
move utils to seperate files and folder, update imports
This commit is contained in:
11
test/utils/utils.ts
Normal file
11
test/utils/utils.ts
Normal 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",
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user