Skip to content

Commit

Permalink
test: refactor api-surface.ts batch hyperledger-cacti#3 hyperledger-c…
Browse files Browse the repository at this point in the history
…acti#1045

Fixes hyperledger-cacti#1045

Signed-off-by: Tommesha Wiggins <tommesha.wiggins@accenture.com>
  • Loading branch information
twiggins120 authored and petermetz committed Jul 24, 2021
1 parent 2eac8bf commit 539a801
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -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();
});

This file was deleted.

Original file line number Diff line number Diff line change
@@ -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();
});

0 comments on commit 539a801

Please sign in to comment.