SponsorBlockServer/test/utils.ts

10 lines
260 B
TypeScript
Raw Normal View History

2020-10-17 20:56:54 +02:00
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;