aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/mock-servers/mock-plugin-blocklist.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/extra-utils/mock-servers/mock-plugin-blocklist.ts')
-rw-r--r--shared/extra-utils/mock-servers/mock-plugin-blocklist.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/extra-utils/mock-servers/mock-plugin-blocklist.ts b/shared/extra-utils/mock-servers/mock-plugin-blocklist.ts
index d18f8224f..6f66bf4f0 100644
--- a/shared/extra-utils/mock-servers/mock-plugin-blocklist.ts
+++ b/shared/extra-utils/mock-servers/mock-plugin-blocklist.ts
@@ -1,4 +1,4 @@
1import * as express from 'express' 1import express, { Request, Response } from 'express'
2import { Server } from 'http' 2import { Server } from 'http'
3import { randomInt } from '@shared/core-utils' 3import { randomInt } from '@shared/core-utils'
4 4
@@ -18,7 +18,7 @@ export class MockBlocklist {
18 return new Promise<number>(res => { 18 return new Promise<number>(res => {
19 const app = express() 19 const app = express()
20 20
21 app.get('/blocklist', (req: express.Request, res: express.Response) => { 21 app.get('/blocklist', (req: Request, res: Response) => {
22 return res.json(this.body) 22 return res.json(this.body)
23 }) 23 })
24 24