Skip to content

Commit 66d2878

Browse files
committed
refactor: restructure test directory
1 parent dd82dd7 commit 66d2878

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

bindings/node.js/test/mechanics.test.ts renamed to bindings/node.js/test/mechanics/mechanics.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import KeyPair from "./support/key_pair";
2-
import { mechanics } from "../client/src/index";
1+
import KeyPair from "./../support/key_pair";
2+
import { mechanics } from "../../client/src/index";
33
import * as path from "path";
44
import { tmpdir } from "os";
55
import { VcState } from "mechanics";
66

77
jest.setTimeout(30000);
88

9-
let infra = require("./infrastructure.json");
9+
let infra = require("../infrastructure.json");
1010
/**
1111
* Helper function for sending new events to witnesses and collecting their receipts
1212
*/

bindings/node.js/test/rotation.test.ts renamed to bindings/node.js/test/mechanics/rotation.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { tmpdir } from "os";
2-
import KeyPair from "./support/key_pair";
2+
import KeyPair from "../support/key_pair";
33
import path from "path";
4-
import { mechanics, signing, rotating } from "../client/src/index";
4+
import { mechanics, signing, rotating } from "../../client/src/index";
55

6-
let infra = require("./infrastructure.json");
6+
let infra = require("../infrastructure.json");
77

88
describe("Rotating", () => {
99
it("Rotate keys", async () => {

0 commit comments

Comments
 (0)