Skip to content

Commit

Permalink
test: add check if register server certs method was called after init
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrykBuniX committed Jan 19, 2024
1 parent 8919056 commit adc547c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/script/E2EIdentity/E2EIdentityEnrollment.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ describe('E2EIHandler', () => {
await instance.initialize(params);
void instance.attemptEnrollment();
await wait(1);
expect(container.resolve(Core).service?.e2eIdentity?.registerServerCertificates).toHaveBeenCalled();
expect(instance['currentStep']).toBe(E2EIHandlerStep.INITIALIZED);
});

Expand Down

0 comments on commit adc547c

Please sign in to comment.