SponsorBlockServer/test/utils.ts
Dainius Daukševičius 08d27265fc migrate to typescript
2020-10-26 19:13:30 +02:00

10 lines
261 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;