This commit is contained in:
rinsuki 2019-10-25 07:30:00 +09:00
parent 9bc4d8bd11
commit 36fb18a94c
1 changed files with 2 additions and 2 deletions

View File

@ -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;