First commit
This commit is contained in:
13
src/index.test.ts
Normal file
13
src/index.test.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import {beforeAll, describe, expect, it} from "vitest";
|
||||
import {jezus} from "./index";
|
||||
import {KeyringAPI} from "./storage/keyring";
|
||||
import {KeyringMock} from "./mocks/storage/keyring";
|
||||
|
||||
describe("Testing", () => {
|
||||
it("should be defined", () => {
|
||||
let keyringMock = new KeyringMock();
|
||||
jezus(keyringMock)
|
||||
|
||||
expect(keyringMock.get("keyring")).toBe("apad");
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user