From 40bf3c28e600611634aa02cfd3b553b0fabb9416 Mon Sep 17 00:00:00 2001 From: rinsuki <428rinsuki+git@gmail.com> Date: Fri, 25 Oct 2019 18:42:27 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"=E4=B8=80=E5=9B=9E=E4=B8=80=E5=9B=9E?= =?UTF-8?q?=E3=82=B3=E3=83=8D=E3=82=AF=E3=82=B7=E3=83=A7=E3=83=B3=E3=82=92?= =?UTF-8?q?=E9=96=89=E3=81=98=E3=82=8B"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 56e35cf4f83070744c8dd852f1a7075011d88828. --- test/streaming.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/streaming.ts b/test/streaming.ts index 9ae729c29c..cb962cfb3d 100644 --- a/test/streaming.ts +++ b/test/streaming.ts @@ -19,20 +19,17 @@ import * as childProcess from 'child_process'; import { connectStream, signup, request, post, launchServer } from './utils'; import { Following } from '../src/models/entities/following'; import { initDb } from '../src/db/postgre'; -import { Connection } from 'typeorm'; describe('Streaming', () => { let p: childProcess.ChildProcess; let Followings: any; - let connection: Connection; beforeEach(launchServer(g => p = g, async () => { - connection = await initDb(true); + const connection = await initDb(true); Followings = connection.getRepository(Following); })); afterEach(() => { - connection.close(); p.kill(); });