diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-01-23 13:50:36 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-01-23 13:50:36 +0900 |
| commit | 82f1fc6cda8c1fcc97beaebc6fcbac54cfdde211 (patch) | |
| tree | 8532fdbe79c8d834a3e3f1a1021462d11e1c1804 | |
| parent | Fix test (diff) | |
| download | sharkey-82f1fc6cda8c1fcc97beaebc6fcbac54cfdde211.tar.gz sharkey-82f1fc6cda8c1fcc97beaebc6fcbac54cfdde211.tar.bz2 sharkey-82f1fc6cda8c1fcc97beaebc6fcbac54cfdde211.zip | |
Fix test
| -rw-r--r-- | test/api.ts | 2 | ||||
| -rw-r--r-- | test/streaming.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/api.ts b/test/api.ts index c5f7eeaf43..72a0efbbde 100644 --- a/test/api.ts +++ b/test/api.ts @@ -43,7 +43,7 @@ describe('API', () => { // Reset database each test beforeEach(resetDb(db)); - before(() => { + after(() => { server.close(); }); diff --git a/test/streaming.ts b/test/streaming.ts index 63ee1e8845..1f4b593e2f 100644 --- a/test/streaming.ts +++ b/test/streaming.ts @@ -41,7 +41,7 @@ describe('Streaming', () => { // Reset database each test beforeEach(resetDb(db)); - before(() => { + after(() => { server.close(); }); |