feat(rustbridge): add RustBridge and RustBinaryLocator with typed IPC interfaces, plugins, tests and mock runner; export from index; add npm registries
This commit is contained in:
14
test/test.ts
14
test/test.ts
@@ -1,8 +1,12 @@
|
||||
import { expect, tap } from '@git.zone/tstest/tapbundle';
|
||||
import * as smartrust from '../ts/index.js'
|
||||
import * as smartrust from '../ts/index.js';
|
||||
|
||||
tap.test('first test', async () => {
|
||||
console.log(smartrust)
|
||||
})
|
||||
tap.test('should export RustBridge', async () => {
|
||||
expect(smartrust.RustBridge).toBeTypeOf('function');
|
||||
});
|
||||
|
||||
export default tap.start()
|
||||
tap.test('should export RustBinaryLocator', async () => {
|
||||
expect(smartrust.RustBinaryLocator).toBeTypeOf('function');
|
||||
});
|
||||
|
||||
export default tap.start();
|
||||
|
||||
Reference in New Issue
Block a user