Skip to content

Commit

Permalink
Disable CSS logs and MSW warnings in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkvon committed Nov 2, 2024
1 parent 4e2e311 commit e3f199c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/koa/src/tests/identity.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ beforeAll(async () => {
css = await new AppRunner().create({
shorthand: {
port: 4000,
// loggingLevel: 'off',
loggingLevel: 'off',
seedConfig: joinFilePath(__dirname, './css-pod-seed.json'), // set up some Solid accounts
},
})
Expand Down Expand Up @@ -115,7 +115,7 @@ describe('Solid identity', () => {
const baseUrl = 'http://localhost:3000'

const identityServer = setupIdentityServer({ webId, provider: baseUrl })
identityServer.listen()
identityServer.listen({ onUnhandledRequest: 'bypass' })
const app = setupServer(webId, baseUrl)
const server = await startServer(app, 3000)
// check .well-known endpoint
Expand Down Expand Up @@ -195,7 +195,7 @@ describe('Solid identity', () => {
provider: 'http://localhost:3000',
})

identityServer.listen()
identityServer.listen({ onUnhandledRequest: 'bypass' })

// setup some data on the server
const person = await getDefaultPerson(
Expand Down

0 comments on commit e3f199c

Please sign in to comment.