SponsorBlockServer/test/utils.ts
2021-07-04 01:36:03 -04:00

10 lines
No EOL
268 B
TypeScript

import {config} from '../src/config';
export function getbaseURL(): string {
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;