Skip to content

Commit

Permalink
add: jdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
gagdiez committed May 22, 2024
1 parent 9670f12 commit 661ca1d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion contract-ts/sandbox-test/main.ava.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import { Worker } from 'near-workspaces';
import anyTest, { TestFn } from "ava";
import { Worker, NearAccount } from 'near-workspaces';
import { setDefaultResultOrder } from 'dns'; setDefaultResultOrder('ipv4first'); // temp fix for node >v17

/**
* @type {TestFn<{ worker: Worker, accounts: Record<string, NearAccount>}>}
*/
const test = anyTest

test.beforeEach(async t => {
// Create sandbox, accounts, deploy contracts, etc.
const worker = t.context.worker = await Worker.init();
Expand Down

0 comments on commit 661ca1d

Please sign in to comment.