Skip to content

Commit

Permalink
worker: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
josephjclark committed Nov 13, 2023
1 parent 1fb7aad commit fa619c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/ws-worker/test/integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ test.serial(
const attempt = getAttempt({}, [
{
id: 'some-job',
credential: 'a',
credential_id: 'a',
adaptor: '@openfn/[email protected]',
body: JSON.stringify({ answer: 42 }),
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ws-worker/test/mock/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const attempts = {
id: 'job-1',
adaptor: '@openfn/[email protected]',
body: 'fn(a => a)',
credential: 'a',
credential_id: 'a',
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ws-worker/test/util/convert-attempt.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const createNode = (props = {}) =>
id: 'a',
body: 'x',
adaptor: 'common',
credential: 'y',
credential_id: 'y',
...props,
} as Node);

Expand Down

0 comments on commit fa619c1

Please sign in to comment.