Commit 40e04f6
test: generalize webpack direct E2E chunk size testing
Updates to `webpack` or any of the used Webpack plugins can cause output
chunk identifiers to change. The `packages/webpack/test-app` E2E test
previously hard coded these file name identifiers into the test which
can cause unexpected test failures when packages are updated. To remedy
this situation, the output file contents are now checked to discover any
files.
(cherry picked from commit 5759cde)1 parent 4fc5c6a commit 40e04f6
1 file changed
+14
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | | - | |
18 | | - | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
20 | 30 | | |
21 | 31 | | |
22 | 32 | | |
| |||
0 commit comments