Skip to content

Commit

Permalink
fix: machine test
Browse files Browse the repository at this point in the history
  • Loading branch information
ale-mazz committed Oct 22, 2024
1 parent 271cad7 commit dbd7765
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ts/features/itwallet/machine/eid/__tests__/machine.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ describe("itwEidIssuanceMachine", () => {
const isSessionExpired = jest.fn();
const isOperationAborted = jest.fn();
const hasValidWalletInstanceAttestation = jest.fn();
const resetWalletInstance = jest.fn();
const trackWalletInstanceCreation = jest.fn();
const trackWalletInstanceRevocation = jest.fn();

const mockedMachine = itwEidIssuanceMachine.provide({
actions: {
Expand All @@ -74,6 +77,9 @@ describe("itwEidIssuanceMachine", () => {
setWalletInstanceToValid,
handleSessionExpired,
abortIdentification,
resetWalletInstance,
trackWalletInstanceCreation,
trackWalletInstanceRevocation,
onInit: assign(onInit)
},
actors: {
Expand Down

0 comments on commit dbd7765

Please sign in to comment.