This commit is contained in:
rinsuki 2019-10-25 07:18:57 +09:00
parent a02c087327
commit 7df31a4355

View file

@ -17,7 +17,7 @@ process.env.NODE_ENV = 'test';
import * as assert from 'assert'; import * as assert from 'assert';
import * as childProcess from 'child_process'; import * as childProcess from 'child_process';
import { async, signup, request, post, uploadFile, launchServer } from './utils'; import { async, signup, request, post, uploadFile, launchServer } from './utils';
import { Note } from '../src/models/entities/note'; const { Note } = require('../src/models/entities/note');
const initDb = require('../built/db/postgre.js').initDb; const initDb = require('../built/db/postgre.js').initDb;
describe('Note', () => { describe('Note', () => {