From 2b33c0a9009ce533162f60637e39fbf816b121fe Mon Sep 17 00:00:00 2001 From: Kengo TODA Date: Sat, 23 Mar 2019 06:34:57 +0800 Subject: [PATCH] test: reproduce problem by jest --- test/src/index.test.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/src/index.test.ts diff --git a/test/src/index.test.ts b/test/src/index.test.ts new file mode 100644 index 00000000..6db4aa65 --- /dev/null +++ b/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); + }); +});