Skip to content

Commit

Permalink
Fix the unused tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Oct 10, 2023
1 parent abe067f commit 4c42132
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,10 @@ describe("api - validator - produceAttestationData", function () {
};
});

it.only("Should throw when node is not synced", async function () {
it("Should throw when node is not synced", async function () {
// Set the node's state to way back from current slot
const currentSlot = 100000;
const headSlot = 0;
console.log(server.chainStub);
server.chainStub.clock = {currentSlot} as IClock;
sinon.replaceGetter(syncStub, "state", () => SyncState.SyncingFinalized);
server.forkChoiceStub.getHead.returns({slot: headSlot} as ProtoBlock);
Expand Down
2 changes: 1 addition & 1 deletion packages/beacon-node/test/unit/monitoring/service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {MonitoringOptions} from "../../../src/monitoring/options.js";
import {sleep} from "../../utils/sleep.js";
import {startRemoteService, remoteServiceRoutes, remoteServiceError} from "./remoteService.js";

describe.skip("monitoring / service", () => {
describe("monitoring / service", () => {
const sandbox = sinon.createSandbox();
const endpoint = "https://test.example.com/api/v1/client/metrics";

Expand Down

0 comments on commit 4c42132

Please sign in to comment.