diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/test/typescript/unit/api-surface.test.ts b/packages/cactus-plugin-ledger-connector-quorum/src/test/typescript/unit/api-surface.test.ts new file mode 100644 index 0000000000..a77b09a829 --- /dev/null +++ b/packages/cactus-plugin-ledger-connector-quorum/src/test/typescript/unit/api-surface.test.ts @@ -0,0 +1,8 @@ +import test, { Test } from "tape-promise/tape"; + +import * as apiSurface from "../../../main/typescript/public-api"; + +test("Library can be loaded", (t: Test) => { + t.ok(apiSurface, "apiSurface truthy OK"); + t.end(); +}); diff --git a/packages/cactus-plugin-ledger-connector-quorum/src/test/typescript/unit/api-surface.ts b/packages/cactus-plugin-ledger-connector-quorum/src/test/typescript/unit/api-surface.ts deleted file mode 100644 index bd90ac9cfd..0000000000 --- a/packages/cactus-plugin-ledger-connector-quorum/src/test/typescript/unit/api-surface.ts +++ /dev/null @@ -1,9 +0,0 @@ -const tap = require("tap"); -import * as publicApi from "../../../main/typescript/public-api"; - -tap.pass("Test file can be executed"); - -tap.test("Library can be loaded", (assert: any) => { - assert.plan(1); - assert.ok(publicApi); -}); diff --git a/packages/cactus-test-plugin-ledger-connector-quorum/src/test/typescript/unit/api-surface.test.ts b/packages/cactus-test-plugin-ledger-connector-quorum/src/test/typescript/unit/api-surface.test.ts index bd90ac9cfd..a77b09a829 100644 --- a/packages/cactus-test-plugin-ledger-connector-quorum/src/test/typescript/unit/api-surface.test.ts +++ b/packages/cactus-test-plugin-ledger-connector-quorum/src/test/typescript/unit/api-surface.test.ts @@ -1,9 +1,8 @@ -const tap = require("tap"); -import * as publicApi from "../../../main/typescript/public-api"; +import test, { Test } from "tape-promise/tape"; -tap.pass("Test file can be executed"); +import * as apiSurface from "../../../main/typescript/public-api"; -tap.test("Library can be loaded", (assert: any) => { - assert.plan(1); - assert.ok(publicApi); +test("Library can be loaded", (t: Test) => { + t.ok(apiSurface, "apiSurface truthy OK"); + t.end(); });