From d302703abd0d8c0acc0091642e77a20f161c2b76 Mon Sep 17 00:00:00 2001 From: Alexey Velikiy Date: Sat, 15 Sep 2018 19:28:01 +0300 Subject: [PATCH] rm basic test & text fix in config.jest --- server/spec/basic.jest.ts | 7 ------- server/spec/config.jest.ts | 5 ++--- 2 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 server/spec/basic.jest.ts diff --git a/server/spec/basic.jest.ts b/server/spec/basic.jest.ts deleted file mode 100644 index 1934d5c..0000000 --- a/server/spec/basic.jest.ts +++ /dev/null @@ -1,7 +0,0 @@ -describe("Basic test", function() { - let text = "I am a basic test"; - - it("should work", function() { - expect(text).toBe("I am a basic test"); - }) -}) diff --git a/server/spec/config.jest.ts b/server/spec/config.jest.ts index f68728b..7aa4a38 100644 --- a/server/spec/config.jest.ts +++ b/server/spec/config.jest.ts @@ -1,8 +1,7 @@ import { HASTIC_PORT } from '../src/config'; describe("When importing from .ts files", function() { - - it("should work", function() { - expect(HASTIC_PORT).toBe(8000) + it("config should be correct", function() { + expect(HASTIC_PORT).toBe(8000); }) })