Skip to content

Commit e9705f0

Browse files
[DURACOM-453] prevent possible issue with spy order on submission test
1 parent c2c8abe commit e9705f0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/app/submission/submission.service.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,10 @@ describe('SubmissionService test suite', () => {
978978
});
979979

980980
describe('redirectToEditItem', () => {
981+
beforeEach(() => {
982+
(itemService.findById as jasmine.Spy).calls.reset();
983+
});
984+
981985
it('should redirect to Item page', fakeAsync(() => {
982986
scheduler = getTestScheduler();
983987

0 commit comments

Comments
 (0)