[TNL-7268] Address the review comments

This commit is contained in:
Agrendalath
2020-06-29 09:35:59 +02:00
committed by David Joy
parent 6f7ec81197
commit e6443ae3bd
3 changed files with 181 additions and 164 deletions

View File

@@ -61,5 +61,8 @@ describe('Sequence Navigation Dropdown', () => {
screen.getAllByText(/^\d+$/).forEach(element => fireEvent.click(element));
expect(onNavigate).toHaveBeenCalledTimes(testUnits.length);
testUnits.forEach(unit => {
expect(onNavigate).toHaveBeenNthCalledWith(Number(unit), unit);
});
});
});