Skip to content

Commit

Permalink
fix: build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Jan 26, 2023
1 parent 0e430a8 commit d444e5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion benchmarks/adonisjs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ import { defineConfig } from '../index.js'
import { Server } from '../src/server/main.js'
import { Logger } from '@adonisjs/logger'

const app = new Application(new URL('./', import.meta.url), { environment: 'web' })
const app = new Application(new URL('./', import.meta.url), {
environment: 'web',
importer: () => {},
})
await app.init()

const encryption = new Encryption({ secret: 'averylongrandom32charslongsecret' })
Expand Down
2 changes: 1 addition & 1 deletion tests/response.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const BASE_URL = new URL('./app/', import.meta.url)
const BASE_PATH = fileURLToPath(BASE_URL)

const encryption = new EncryptionFactory().create()
const app = new AppFactory().create(BASE_URL)
const app = new AppFactory().create(BASE_URL, () => {})
const router = new RouterFactory().merge({ app, encryption }).create()

test.group('Response', (group) => {
Expand Down

0 comments on commit d444e5b

Please sign in to comment.