Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilianoSanchez committed Sep 10, 2024
1 parent e0ced35 commit 20ae830
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/__tests__/asyncActions.browser.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,8 @@ describe('getTreatments (providing a non-default user key)', () => {
type: SPLIT_READY_WITH_EVALUATIONS,
payload: {
key: 'other-user-key',
treatments: expect.any(Object)
treatments: expect.any(Object),
timestamp: expect.any(Number)
}
});

Expand Down Expand Up @@ -628,7 +629,8 @@ describe('getTreatments (providing a non-default user key)', () => {
type: SPLIT_UPDATE_WITH_EVALUATIONS,
payload: {
key: 'other-user-key',
treatments: expect.any(Object)
treatments: expect.any(Object),
timestamp: expect.any(Number)
}
});
expect(splitSdk.factory.client('other-user-key').getTreatmentsWithConfig).lastCalledWith(['split2'], attributes);
Expand Down

0 comments on commit 20ae830

Please sign in to comment.