Skip to content

Commit

Permalink
fix(browser): don't panic if @vitest/browser is installed outside of …
Browse files Browse the repository at this point in the history
…project root (#6135)
sheremet-va authored Jul 15, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 2d62051 commit ccfcd48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/browser/src/node/plugin.ts
Original file line number Diff line number Diff line change
@@ -315,6 +315,7 @@ export default (browserServer: BrowserServer, base = '/'): Plugin[] => {
project.ctx.config.root,
project.ctx.server.config.configFile,
),
distRoot,
)

return {

0 comments on commit ccfcd48

Please sign in to comment.