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