Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): lock file maintenance #812

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore(deps): lock file maintenance
renovate[bot] authored Oct 14, 2024
commit 7514f406987111cb917c0acbdf3c7c802bfc25d3
277 changes: 134 additions & 143 deletions package-lock.json

Unchanged files with check annotations Beta

});
});
app.get('/auth', (_req, res): unknown => res.status(204).end());

Check failure on line 26 in test/index.test.mts

GitHub Actions / TypeScript Check

No overload matches this call.
app.use((err: unknown, _req: Request, res: Response, _next: NextFunction) =>

Check failure on line 28 in test/index.test.mts

GitHub Actions / TypeScript Check

No overload matches this call.
res.status((err as IWithStatus).status ?? 500).json(err),
);
await describe('Without installOpenApiValidator', async () => {
await it('should return 200 for bad request', () => {
const server = buildServer(false, '');
return request(server).get('/test').expect(200).then(keepTSHappy);

Check failure on line 41 in test/index.test.mts

GitHub Actions / ESLint Check

Promise returned in function argument where a void return was expected.
});
});
await describe('in test mode', async () => {
await it('will validate all requests', () => {
const server = buildServer(true, 'test');
return request(server)

Check failure on line 49 in test/index.test.mts

GitHub Actions / ESLint Check

Promise returned in function argument where a void return was expected.
.get('/test')
.expect(400)
.expect(/\/query\/s/u)
await it('will thoroughly validate requests', () => {
const server = buildServer(true, 'test');
return request(server)

Check failure on line 58 in test/index.test.mts

GitHub Actions / ESLint Check

Promise returned in function argument where a void return was expected.
.get('/test?s=2012-13-31')
.expect(400)
.expect(/\/query\/s/u)
await it('will validate responses', () => {
const server = buildServer(true, 'test');
return request(server)

Check failure on line 68 in test/index.test.mts

GitHub Actions / ESLint Check

Promise returned in function argument where a void return was expected.
.get('/test?s=2012-12-31')
.expect(500)
.expect(/\/response\/debug/u)
await describe('in production mode', async () => {
await it('will validate all requests', () => {
const server = buildServer(true, 'production');
return request(server)

Check failure on line 79 in test/index.test.mts

GitHub Actions / ESLint Check

Promise returned in function argument where a void return was expected.
.get('/test')
.expect(400)
.expect(/\/query\/s/u)
await it('will not thoroughly validate requests', () => {
const server = buildServer(true, 'production');
return request(server).get('/test?s=2012-13-31').expect(200).then(keepTSHappy);

Check failure on line 88 in test/index.test.mts

GitHub Actions / ESLint Check

Promise returned in function argument where a void return was expected.
});
await it('will not validate responses', () => {
const server = buildServer(true, 'production');
return request(server).get('/test?s=2012-12-31').expect(200).then(keepTSHappy);

Check failure on line 93 in test/index.test.mts

GitHub Actions / ESLint Check

Promise returned in function argument where a void return was expected.
});
});
});