Browse Source

rm basic test & text fix in config.jest

pull/1/head
Coin de Gamma 6 years ago
parent
commit
d302703abd
  1. 7
      server/spec/basic.jest.ts
  2. 5
      server/spec/config.jest.ts

7
server/spec/basic.jest.ts

@ -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");
})
})

5
server/spec/config.jest.ts

@ -1,8 +1,7 @@
import { HASTIC_PORT } from '../src/config'; import { HASTIC_PORT } from '../src/config';
describe("When importing from .ts files", function() { describe("When importing from .ts files", function() {
it("config should be correct", function() {
it("should work", function() { expect(HASTIC_PORT).toBe(8000);
expect(HASTIC_PORT).toBe(8000)
}) })
}) })

Loading…
Cancel
Save