Skip to content

Commit 3f64e87

Browse files
cexbrayatbenlesh
authored andcommitted
test: check payload size for cli-hello-world-ivy (angular#27797)
Adds size bundle checking to the integration test `cli-hello-world-ivy` PR Close angular#27797
1 parent 62e45ce commit 3f64e87

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

‎integration/_payload-limits.json‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@
88
}
99
}
1010
},
11+
"cli-hello-world-ivy": {
12+
"master": {
13+
"uncompressed": {
14+
"runtime": 1440,
15+
"main": 507677,
16+
"polyfills": 38390
17+
}
18+
}
19+
},
1120
"hello_world__closure": {
1221
"master": {
1322
"uncompressed": {

‎integration/run_tests.sh‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ for testDir in $(ls | grep -v node_modules) ; do
4848
yarn install --cache-folder ../$cache
4949
yarn test || exit 1
5050

51-
# Track payload size for cli-hello-world and hello_world__closure and the render3 tests
52-
if $CI && ([[ $testDir == cli-hello-world ]] || [[ $testDir == hello_world__closure ]]); then
53-
if [[ $testDir == cli-hello-world ]]; then
51+
# Track payload size for cli-hello-world, cli-hello-world-ivy and hello_world__closure
52+
if $CI && ([[ $testDir == cli-hello-world ]] || [[ $testDir == cli-hello-world-ivy ]] || [[ $testDir == hello_world__closure ]]); then
53+
if ([[ $testDir == cli-hello-world ]] || [[ $testDir == cli-hello-world-ivy ]]); then
5454
yarn build
5555
fi
5656

0 commit comments

Comments
 (0)