File tree 3 files changed +13
-15
lines changed
cactus-plugin-ledger-connector-quorum/src/test/typescript/unit
cactus-test-plugin-ledger-connector-quorum/src/test/typescript/unit
3 files changed +13
-15
lines changed Original file line number Diff line number Diff line change
1
+ import test , { Test } from "tape-promise/tape" ;
2
+
3
+ import * as apiSurface from "../../../main/typescript/public-api" ;
4
+
5
+ test ( "Library can be loaded" , ( t : Test ) => {
6
+ t . ok ( apiSurface , "apiSurface truthy OK" ) ;
7
+ t . end ( ) ;
8
+ } ) ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- const tap = require ( "tap" ) ;
2
- import * as publicApi from "../../../main/typescript/public-api" ;
1
+ import test , { Test } from "tape-promise/tape" ;
3
2
4
- tap . pass ( "Test file can be executed" ) ;
3
+ import * as apiSurface from "../../../main/typescript/public-api" ;
5
4
6
- tap . test ( "Library can be loaded" , ( assert : any ) => {
7
- assert . plan ( 1 ) ;
8
- assert . ok ( publicApi ) ;
5
+ test ( "Library can be loaded" , ( t : Test ) => {
6
+ t . ok ( apiSurface , "apiSurface truthy OK" ) ;
7
+ t . end ( ) ;
9
8
} ) ;
You can’t perform that action at this time.
0 commit comments