We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e99ef55 commit d5a28ddCopy full SHA for d5a28dd
1 file changed
src/utilities/do-try.test.ts
@@ -16,12 +16,7 @@ describe("do-try.ts", () => {
16
// Arrange
17
const workload = async () => {
18
throw ResultRecordFactory.build({
19
- errors: [
20
- ResultErrorRecordFactory.build({
21
- key: "TEST_ERROR_KEY",
22
- message: "This is an error",
23
- }),
24
- ],
+ errors: [ResultErrorRecordFactory.build()],
25
});
26
};
27
@@ -141,12 +136,7 @@ describe("do-try.ts", () => {
141
136
142
137
const workload = () => {
143
138
144
145
146
147
148
149
139
150
140
151
152
0 commit comments