Skip to content

Commit

Permalink
Another test for get chunk indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lan2u committed Sep 25, 2024
1 parent 2506c16 commit 26b12ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,11 @@ export const asyncApplyExternalEventSources = (
googleHelpers.value,
equipment,
updateState
)(),
logger.info(
'Finished pulling events from google training sheet for %s',
equipment.name
);
);
logger.info(
'Finished pulling events from google training sheet for %s',
equipment.name
);
}
}
logger.info('Finished applying external event sources');
Expand Down
1 change: 1 addition & 0 deletions tests/get-chunk-indexes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ describe('Get chunk indexes', () => {
],
],
[2, 1, 500, []],
[1000, 2, 500, []],
].forEach(([start, end, chunkSize, expected]) => {
it(`${start.toString()}:${end.toString()}:${chunkSize.toString()}`, () => {
expect(
Expand Down

0 comments on commit 26b12ae

Please sign in to comment.