Skip to content

Commit f7aacab

Browse files
authored
fix: Allowing test.js in compiled asar to allow testing mechanisms like Playwright (#7931)
1 parent 9a60cd2 commit f7aacab

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

.changeset/cold-carpets-move.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"app-builder-lib": patch
3+
---
4+
5+
Allowing `test.js` in compiled asar to allow testing mechanisms like Playwright

packages/app-builder-lib/src/util/NodeModuleCopyHelper.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const excludedFiles = new Set(
1313
)
1414
)
1515
const topLevelExcludedFiles = new Set([
16-
"test.js",
1716
"karma.conf.js",
1817
".coveralls.yml",
1918
"README.md",

test/snapshots/BuildTest.js.snap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,9 @@ Object {
485485
"package.json": Object {
486486
"size": "<size>",
487487
},
488+
"test.js": Object {
489+
"size": "<size>",
490+
},
488491
},
489492
},
490493
"fs-constants": Object {

0 commit comments

Comments
 (0)