Skip to content

Commit

Permalink
deps: @types/supertest (seek-oss#1388)
Browse files Browse the repository at this point in the history
* deps: @types/supertest

* Work around type issue

* Run `skuba format`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ryan Ling <[email protected]>
Co-authored-by: skuba <[email protected]>
  • Loading branch information
3 people authored and ajain58 committed Jan 17, 2024
1 parent 5d00355 commit 669e756
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"@types/module-alias": "2.0.4",
"@types/npm-which": "3.0.3",
"@types/picomatch": "2.3.3",
"@types/supertest": "2.0.16",
"@types/supertest": "6.0.2",
"@types/validate-npm-package-name": "4.0.2",
"enhanced-resolve": "5.15.0",
"express": "4.18.2",
Expand Down
9 changes: 5 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/wrapper/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jest.mock('../utils/logging');
const initWrapper = (entryPoint: string) =>
main(path.join('src', 'wrapper', 'testing', entryPoint), '8080');

let agent: request.SuperAgentTest;
let agent: ReturnType<(typeof request)['agent']>;

const startServer = jest
.spyOn(http, 'startServer')
Expand Down

0 comments on commit 669e756

Please sign in to comment.