refactor: Use toStrictEqual instead of toEqual for tests
This commit is contained in:
@@ -16,6 +16,6 @@ describe('actionSerializer', () => {
|
||||
type: action.type,
|
||||
};
|
||||
|
||||
expect(actionSerializer(action)).toEqual(expectedPayload);
|
||||
expect(expectedPayload).toMatchObject(actionSerializer(action));
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user