From 5eff6628fbd940fec691648c5c05dd2ae8fb8e39 Mon Sep 17 00:00:00 2001 From: Conner Gallagher Date: Wed, 10 Aug 2022 13:08:10 -0600 Subject: [PATCH] fix --- libraries/sbv2-utils/tests/feed.tests.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libraries/sbv2-utils/tests/feed.tests.ts b/libraries/sbv2-utils/tests/feed.tests.ts index 04e63a0..7b4fe06 100644 --- a/libraries/sbv2-utils/tests/feed.tests.ts +++ b/libraries/sbv2-utils/tests/feed.tests.ts @@ -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;