Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Oct 30, 2024
1 parent 6ba05d0 commit 9df8519
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin-server/tests/cdp/cdp-api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ describe('CDP API', () => {
expect(res.status).toEqual(200)
expect(res.body).toMatchObject({
status: 'success',
error: 'undefined',
error: null,
logs: [
{
level: 'debug',
Expand Down
3 changes: 2 additions & 1 deletion plugin-server/tests/cdp/hog-executor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ const setupFetchResponse = (invocation: HogFunctionInvocation, options?: { statu
],
response: {
status: options?.status ?? 200,
body: options?.body ?? 'success',
headers: { 'Content-Type': 'application/json' },
},
body: options?.body ?? 'success',
}
}

Expand Down

0 comments on commit 9df8519

Please sign in to comment.