⚙ use new config loader

ref #18 ,ref #17
This commit is contained in:
2020-12-06 10:48:25 +01:00
parent 2cdc91ec83
commit 39cefbc593
2 changed files with 7 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
import axios from 'axios';
const base = "http://localhost:4010"
import { config } from '../config';
const base = "http://localhost:" + config.internal_port
describe('GET /api/tracks', () => {
it('basic get should return 200', async () => {