Skip to content

Commit

Permalink
test: reproduce problem by jest
Browse files Browse the repository at this point in the history
  • Loading branch information
KengoTODA committed Mar 22, 2019
1 parent 26065f0 commit 2b33c0a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/src/index.test.ts
@@ -0,0 +1,13 @@
const Index = require("../../src/index");

describe("index", () => {
test("prepare is a function", () => {
expect(Index.prepare).toBeInstanceOf(Function);
});
test("publish is a function", () => {
expect(Index.publish).toBeInstanceOf(Function);
});
test("verifyConditions is a function", () => {
expect(Index.verifyConditions).toBeInstanceOf(Function);
});
});

0 comments on commit 2b33c0a

Please sign in to comment.