Skip to content

Commit

Permalink
fix(browser): set global filepath (#6190)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va authored Jul 22, 2024
1 parent 5da45db commit 0d0b46b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/browser/src/client/tester/tester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ async function executeTests(method: 'run' | 'collect', files: string[]) {
try {
await setupCommonEnv(config)
for (const file of files) {
state.filepath = file

if (method === 'run') {
await startTests([file], runner)
}
Expand Down

0 comments on commit 0d0b46b

Please sign in to comment.