diff --git a/test/setup.ts b/test/setup.ts index f82f70f8..30e3a543 100644 --- a/test/setup.ts +++ b/test/setup.ts @@ -1,5 +1,6 @@ import { default as db, sequencerDB } from '../src/helpers/mysql'; -import { TEST_DATABASE_SUFFIX } from './setupDb'; + +export const TEST_DATABASE_SUFFIX = '_test'; const setup = async () => { try { diff --git a/test/setupDb.ts b/test/setupDb.ts index 0cc6a710..278de712 100644 --- a/test/setupDb.ts +++ b/test/setupDb.ts @@ -4,8 +4,7 @@ import Connection from 'mysql/lib/Connection'; import bluebird from 'bluebird'; import parse from 'connection-string'; import fs from 'fs'; - -export const TEST_DATABASE_SUFFIX = '_test'; +import { TEST_DATABASE_SUFFIX } from './setup'; // @ts-ignore const config = parse(process.env.HUB_DATABASE_URL);