Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export const PROTOCOL: string = 'http';
- export const HOST: string = 'localhost';
- export const PORT: number | string = 3001;
- export const VERSION: number | string = 1;
- import { HOST, PORT, PROTOCOL, VERSION } from '../config/api';
- /* uncovered statement */
- this.baseURL = baseURL || `${PROTOCOL}://${HOST}:${PORT}/api/v${VERSION}`;
Add Comment
Please, Sign In to add comment