Skip to content

Commit

Permalink
chore(deps): update dependency @types/supertest to v6 (#3452)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency @types/supertest to v6

* test(h5p-express): fix typing issue in supertest

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Rettig <serettig@posteo.de>
  • Loading branch information
renovate[bot] and sr258 authored Jan 12, 2025
1 parent 50cf501 commit 1e498ad
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion packages/h5p-express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@types/express-fileupload": "1.5.1",
"@types/express-serve-static-core": "5.0.3",
"@types/express": "4.17.21",
"@types/supertest": "2.0.16",
"@types/supertest": "6.0.2",
"axios-mock-adapter": "2.1.0",
"axios": "1.7.9",
"body-parser": "1.20.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/h5p-express/test/H5PAjaxExpressRouter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ describe('Express Ajax endpoint adapter', () => {
});

describe('tests requiring uploaded files', () => {
let mockApp: supertest.SuperTest<supertest.Test>;
let mockApp;
let uploadResult: any;
beforeEach(async () => {
mockApp = supertest(app);
Expand Down

0 comments on commit 1e498ad

Please sign in to comment.