Skip to content

Commit

Permalink
fix: use full path to browser session file (#1723)
Browse files Browse the repository at this point in the history
  • Loading branch information
rslawik authored Oct 14, 2021
1 parent 9f79b1e commit e6c7459
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/mean-forks-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@web/test-runner-mocha": patch
"@web/test-runner": patch
---

Use full path to browser session file
2 changes: 1 addition & 1 deletion packages/test-runner-mocha/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const rewriteDtsPlugin = {
if (name.endsWith('.d.ts')) {
file.source = file.source
.replace(REGEXP_DTS_MOCHA, "'mocha/mocha.js'")
.replace(REGEXP_DTS_CORE, "'@web/test-runner-core'");
.replace(REGEXP_DTS_CORE, "'@web/test-runner-core/browser/session.js'");
}
}
},
Expand Down

0 comments on commit e6c7459

Please sign in to comment.