Skip to content

Commit

Permalink
Update src/testing/internal/scenarios/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Jerel Miller <[email protected]>
  • Loading branch information
phryneas and jerelmiller authored Dec 4, 2024
1 parent a81e42e commit 1e5fdea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/testing/internal/scenarios/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export function addDelayToMocks<T extends MockedResponse<unknown>[]>(
mocks: T,
delay = 150
) {
return mocks.map((mock) => ({ ...mock, delay }));
return mocks.map((mock) => ({ delay, ...mock }));
}

interface Letter {
Expand Down

0 comments on commit 1e5fdea

Please sign in to comment.