Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3e32536

Browse files
committedJun 7, 2024··
test(idempotency): fix integration tests
1 parent 011334f commit 3e32536

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
 

‎packages/idempotency/tests/e2e/makeIdempotent.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ describe(`Idempotency E2E tests, wrapper function usage`, () => {
111111
// Prepare
112112
const payload = {
113113
records: [
114-
{ id: 1, foo: 'bar' },
115-
{ id: 2, foo: 'baz' },
116-
{ id: 1, foo: 'bar' },
114+
{ foo: 'bar', id: 1 },
115+
{ foo: 'baz', id: 2 },
116+
{ foo: 'bar', id: 1 },
117117
],
118118
};
119119
const payloadHashes = payload.records.map((record) =>
@@ -173,9 +173,9 @@ describe(`Idempotency E2E tests, wrapper function usage`, () => {
173173
// Prepare
174174
const payload = {
175175
records: [
176-
{ id: 1, foo: 'bar' },
177-
{ id: 2, foo: 'baq' },
178-
{ id: 3, foo: 'bar' },
176+
{ foo: 'bar', id: 1 },
177+
{ foo: 'baq', id: 2 },
178+
{ foo: 'bar', id: 3 },
179179
],
180180
};
181181
const payloadHashes = payload.records.map((record) =>

0 commit comments

Comments
 (0)
Please sign in to comment.