mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-13 21:53:43 +01:00
[monorepo] prepare for zod everywhere epic (#36027)
GitOrigin-RevId: f082ae7fc7857fa72b2c1823645050bd4f6df305
This commit is contained in:
@@ -39,6 +39,22 @@ class TestServer {
|
||||
res.sendStatus(500)
|
||||
})
|
||||
|
||||
this.app.get('/400', (req, res) => {
|
||||
res.status(400).send('boom-400')
|
||||
})
|
||||
|
||||
this.app.get('/409', (req, res) => {
|
||||
res.status(409).send('boom-409')
|
||||
})
|
||||
|
||||
this.app.get('/413', (req, res) => {
|
||||
res.status(413).send('boom-413')
|
||||
})
|
||||
|
||||
this.app.get('/422', (req, res) => {
|
||||
res.status(422).send('boom-422')
|
||||
})
|
||||
|
||||
this.app.post('/sink', (req, res) => {
|
||||
req.on('data', () => {})
|
||||
req.on('end', () => {
|
||||
|
||||
Reference in New Issue
Block a user