SponsorBlockServer/test/utils.ts
2021-04-05 23:48:51 -04:00

10 lines
No EOL
260 B
TypeScript

import {config} from '../src/config';
export function getbaseURL() {
return "http://localhost:" + config.port;
}
/**
* Duplicated from Mocha types. TypeScript doesn't infer that type by itself for some reason.
*/
export type Done = (err?: any) => void;