Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Sep 3, 2024
1 parent f1d6317 commit c1475ae
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/browser/src/node/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ export async function createBrowserServer(

const configPath = typeof configFile === 'string' ? configFile : false

const logger = createViteLogger((process.env.VITEST_BROWSER_DEBUG as 'info') ?? 'info')
const logLevel = (process.env.VITEST_BROWSER_DEBUG as 'info') ?? 'info'

const logger = createViteLogger(logLevel)

const vite = await createViteServer({
...project.options, // spread project config inlined in root workspace config
base: '/',
logLevel: (process.env.VITEST_BROWSER_DEBUG as 'info') ?? 'info',
logLevel,
customLogger: {
...logger,
info(msg, options) {
Expand Down

0 comments on commit c1475ae

Please sign in to comment.