Skip to content

Commit

Permalink
Fix mock data
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Jun 12, 2022
1 parent dcd77df commit 3d3f90f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion addons/interactions/src/mocks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ export const getCall = (status: CallStates): Call => {
};

const overrides = CallStates.ERROR
? { exception: { name: 'Error', stack: '', message: "Things didn't work!" } }
? {
exception: { name: 'Error', stack: '', message: 'No work!', callId: defaultData.id },
}
: {};

return { ...defaultData, ...overrides };
Expand Down

0 comments on commit 3d3f90f

Please sign in to comment.