aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/instances-index/mock-instances-index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/extra-utils/instances-index/mock-instances-index.ts')
-rw-r--r--shared/extra-utils/instances-index/mock-instances-index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/extra-utils/instances-index/mock-instances-index.ts b/shared/extra-utils/instances-index/mock-instances-index.ts
index ea09c9f61..2604eda03 100644
--- a/shared/extra-utils/instances-index/mock-instances-index.ts
+++ b/shared/extra-utils/instances-index/mock-instances-index.ts
@@ -4,7 +4,7 @@ export class MockInstancesIndex {
4 private readonly indexInstances: { host: string, createdAt: string }[] = [] 4 private readonly indexInstances: { host: string, createdAt: string }[] = []
5 5
6 initialize () { 6 initialize () {
7 return new Promise(res => { 7 return new Promise<void>(res => {
8 const app = express() 8 const app = express()
9 9
10 app.use('/', (req: express.Request, res: express.Response, next: express.NextFunction) => { 10 app.use('/', (req: express.Request, res: express.Response, next: express.NextFunction) => {