Skip to content

Commit

Permalink
test: remove regression test, since it is fixed in starter kit
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Jan 7, 2024
1 parent 1388687 commit a84d434
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions tests/server.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -958,24 +958,6 @@ test.group('Server | error handler', () => {
})

test.group('Server | force content negotiation', () => {
test('set accept header when forceContentNegotiationTo is a string', async ({ assert }) => {
const app = new AppFactory().create(BASE_URL, () => {})
const server = new ServerFactory().merge({ app }).create()
const httpServer = createServer(server.handle.bind(server))
await app.init()

server.use([])
await server.boot()

server.getRouter().get('/', async ({ request, response }) => {
response.send(request.header('accept'))
})
await server.boot()

const { text } = await supertest(httpServer).get('/').expect(200)
assert.equal(text, 'application/json')
}).fails('Ship a middleware for this')

test('find if the signed url signature is valid', async ({ assert }) => {
const app = new AppFactory().create(BASE_URL, () => {})
const server = new ServerFactory().merge({ app }).create()
Expand Down

0 comments on commit a84d434

Please sign in to comment.