Skip to content

Commit

Permalink
fix: Allowing test.js in compiled asar to allow testing mechanisms …
Browse files Browse the repository at this point in the history
…like Playwright (#7931)
  • Loading branch information
mmaietta authored Dec 7, 2023
1 parent 9a60cd2 commit f7aacab
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cold-carpets-move.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-lib": patch
---

Allowing `test.js` in compiled asar to allow testing mechanisms like Playwright
1 change: 0 additions & 1 deletion packages/app-builder-lib/src/util/NodeModuleCopyHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const excludedFiles = new Set(
)
)
const topLevelExcludedFiles = new Set([
"test.js",
"karma.conf.js",
".coveralls.yml",
"README.md",
Expand Down
3 changes: 3 additions & 0 deletions test/snapshots/BuildTest.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,9 @@ Object {
"package.json": Object {
"size": "<size>",
},
"test.js": Object {
"size": "<size>",
},
},
},
"fs-constants": Object {
Expand Down

0 comments on commit f7aacab

Please sign in to comment.