mirror of
https://github.com/alexgo-io/simple-pre-faktory.git
synced 2026-01-12 16:53:17 +08:00
22 lines
613 B
TypeScript
Vendored
22 lines
613 B
TypeScript
Vendored
|
|
import { describe, expect, it } from "vitest";
|
|
|
|
const accounts = simnet.getAccounts();
|
|
const address1 = accounts.get("wallet_1")!;
|
|
|
|
/*
|
|
The test below is an example. To learn more, read the testing documentation here:
|
|
https://docs.hiro.so/clarinet/feature-guides/test-contract-with-clarinet-sdk
|
|
*/
|
|
|
|
describe("example tests", () => {
|
|
it("ensures simnet is well initalised", () => {
|
|
expect(simnet.blockHeight).toBeDefined();
|
|
});
|
|
|
|
// it("shows an example", () => {
|
|
// const { result } = simnet.callReadOnlyFn("counter", "get-counter", [], address1);
|
|
// expect(result).toBeUint(0);
|
|
// });
|
|
});
|