Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
👌 Apply review suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
sameersubudhi committed Jan 26, 2024
1 parent f28f824 commit 1f8ec22
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions services/export/tests/unit/shared/helpers/ready.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ describe('Test getIndexStatus method', () => {
});

describe('Test checkIfIndexReadyForInterval method', () => {
beforeEach(() => jest.resetModules());

describe('when indexing is at 100 percent', () => {
beforeEach(() => {
jest.resetModules();

const mockIndexStatus = {
data: {
genesisHeight: 23390992,
Expand Down Expand Up @@ -110,8 +110,6 @@ describe('Test checkIfIndexReadyForInterval method', () => {

describe('when indexing is below 100 percent', () => {
beforeEach(() => {
jest.resetModules();

const mockIndexStatus = {
data: {
genesisHeight: 23390992,
Expand Down Expand Up @@ -176,8 +174,6 @@ describe('Test checkIfIndexReadyForInterval method', () => {
});

describe('when indexing is around 99.99 percent', () => {
beforeEach(() => jest.resetModules());

it('should return true when interval ends today and the indexing lags by 2 blocks', async () => {
const mockIndexStatus = {
data: {
Expand Down

0 comments on commit 1f8ec22

Please sign in to comment.