This commit is contained in:
Conner Gallagher 2022-08-10 13:08:10 -06:00
parent 2649cb1ce0
commit 5eff6628fb
1 changed files with 7 additions and 7 deletions

View File

@ -4,7 +4,7 @@ import {
JobAccount,
OracleJob,
} from "@switchboard-xyz/switchboard-v2";
import fs from "fs";
// import fs from "fs";
import "mocha";
import {
awaitOpenRound,
@ -14,13 +14,13 @@ import {
} from "../lib/cjs";
describe("Feed tests", () => {
// const payer = anchor.web3.Keypair.generate();
const payer = anchor.web3.Keypair.generate();
const payer = anchor.web3.Keypair.fromSecretKey(
new Uint8Array(
JSON.parse(fs.readFileSync("../../../payer-keypair.json", "utf8"))
)
);
// const payer = anchor.web3.Keypair.fromSecretKey(
// new Uint8Array(
// JSON.parse(fs.readFileSync("../../../payer-keypair.json", "utf8"))
// )
// );
let switchboard: SwitchboardTestContext;