Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit 6414576

Browse files
author
Amir Blum
committed
test(opentelemetry-plugin-aws-sdk): refactor mock data for test
1 parent 6ec8a64 commit 6414576

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/plugin-aws-sdk/test/aws-sdk.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@ describe("plugin-aws-sdk", () => {
2525
const responseMockSuccess = {
2626
requestId: "0000000000000",
2727
error: null,
28-
data: null,
2928
};
3029

3130
const responseMockWithError = {
32-
...responseMockSuccess,
31+
requestId: "0000000000000",
3332
error: "something went wrong",
3433
};
3534

0 commit comments

Comments
 (0)