Skip to content

Commit

Permalink
Try to fix gh action (6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu2301 committed Sep 17, 2023
1 parent fe17f7d commit 85d3106
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/customChartTypes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ describe('CustomChartTypes', () => {
) await utils.wait(100);

expect(chart.infos.full_name).toBe('BINANCE:ETHEUR');
expect(chart.periods.length).toBeGreaterThanOrEqual(100);
expect(chart.periods.length).toBeGreaterThanOrEqual(99);
expect(chart.periods.length).toBeLessThanOrEqual(101);
});

Expand Down
4 changes: 2 additions & 2 deletions tests/replayMode.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('ReplayMode', () => {
utils.calculateTimeGap(chart.periods),
).toBe(24 * 60 * 60);

expect(chart.periods.length).toBeGreaterThanOrEqual(10);
expect(chart.periods.length).toBeGreaterThanOrEqual(9);
expect(chart.periods.length).toBeLessThanOrEqual(11);
});

Expand Down Expand Up @@ -105,7 +105,7 @@ describe('ReplayMode', () => {
utils.calculateTimeGap(chart.periods),
).toBe(24 * 60 * 60);

expect(chart.periods.length).toBeGreaterThanOrEqual(10);
expect(chart.periods.length).toBeGreaterThanOrEqual(9);
expect(chart.periods.length).toBeLessThanOrEqual(11);
});

Expand Down

0 comments on commit 85d3106

Please sign in to comment.