Skip to content

Commit

Permalink
fix(operators): solved duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanGerbeth committed Nov 26, 2024
1 parent c551158 commit eae508b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/operators/src/request.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ describe('request', () => {
const { request } = await import('./request.js');

const expectedVal = {
a: new Error('NO CONNECTION'),
b: { status: 500, ok: false },
a: { status: 500, ok: false },
b: new Error('NO CONNECTION'),
c: { status: 200, ok: true }
};

const triggerVal = [
() => expectedVal.a,
() => {
throw expectedVal.a;
throw expectedVal.b;
},
() => expectedVal.b,
() => expectedVal.c
];

Expand Down

0 comments on commit eae508b

Please sign in to comment.