diff --git a/test/note.ts b/test/note.ts index 3aa12b5a61..b51ff3a377 100644 --- a/test/note.ts +++ b/test/note.ts @@ -18,7 +18,7 @@ import * as assert from 'assert'; import * as childProcess from 'child_process'; import { async, signup, request, post, uploadFile, launchServer } from './utils'; import { Note } from '../src/models/entities/note'; -import { initDb } from '../src/db/postgre'; +const initDb = require('../built/db/postgre.js').initDb; describe('Note', () => { let p: childProcess.ChildProcess;