Skip to content

Commit

Permalink
enable debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Nov 11, 2023
1 parent c09b529 commit e806839
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ jobs:
brew config
- name: Check
run: pnpm check
run: DEBUG='*' pnpm check
2 changes: 1 addition & 1 deletion __tests__/e2e/vitestGlobalSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const root = '.'

export async function setup() {
browserServer = await chromium.launchServer({
headless: !process.env.DEBUG,
headless: !!process.env.CI || !process.env.DEBUG,
args: process.env.CI
? ['--no-sandbox', '--disable-setuid-sandbox']
: undefined
Expand Down
2 changes: 1 addition & 1 deletion __tests__/init/init.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const tempDir = fileURLToPath(new URL('./.temp', import.meta.url))
const getTempRoot = () => path.join(tempDir, nanoid())

const browser = await chromium.launch({
headless: !process.env.DEBUG,
headless: !!process.env.CI || !process.env.DEBUG,
args: process.env.CI
? ['--no-sandbox', '--disable-setuid-sandbox']
: undefined
Expand Down

0 comments on commit e806839

Please sign in to comment.