From 36fb18a94cea7ca38e1bc2d5b9d7e7a6a23a8091 Mon Sep 17 00:00:00 2001 From: rinsuki <428rinsuki+git@gmail.com> Date: Fri, 25 Oct 2019 07:30:00 +0900 Subject: [PATCH] fix --- test/note.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/note.ts b/test/note.ts index be7544bc14..3aa12b5a61 100644 --- a/test/note.ts +++ b/test/note.ts @@ -17,8 +17,8 @@ process.env.NODE_ENV = 'test'; import * as assert from 'assert'; import * as childProcess from 'child_process'; import { async, signup, request, post, uploadFile, launchServer } from './utils'; -const { Note } = require('../src/models/entities/note'); -const initDb = require('../built/db/postgre.js').initDb; +import { Note } from '../src/models/entities/note'; +import { initDb } from '../src/db/postgre'; describe('Note', () => { let p: childProcess.ChildProcess;