Skip to content

Commit d444e5b

Browse files
committed
fix: build issues
1 parent 0e430a8 commit d444e5b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

benchmarks/adonisjs.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ import { defineConfig } from '../index.js'
1616
import { Server } from '../src/server/main.js'
1717
import { Logger } from '@adonisjs/logger'
1818

19-
const app = new Application(new URL('./', import.meta.url), { environment: 'web' })
19+
const app = new Application(new URL('./', import.meta.url), {
20+
environment: 'web',
21+
importer: () => {},
22+
})
2023
await app.init()
2124

2225
const encryption = new Encryption({ secret: 'averylongrandom32charslongsecret' })

tests/response.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const BASE_URL = new URL('./app/', import.meta.url)
2929
const BASE_PATH = fileURLToPath(BASE_URL)
3030

3131
const encryption = new EncryptionFactory().create()
32-
const app = new AppFactory().create(BASE_URL)
32+
const app = new AppFactory().create(BASE_URL, () => {})
3333
const router = new RouterFactory().merge({ app, encryption }).create()
3434

3535
test.group('Response', (group) => {

0 commit comments

Comments
 (0)