Skip to content

Commit 8b04631

Browse files
filipesilvaZhicheng Wang
authored and
Zhicheng Wang
committed
test: revert AoTPlugin size update (angular#5003)
Revert angular#4834
1 parent 1028ba2 commit 8b04631

File tree

1 file changed

+1
-6
lines changed
  • tests/e2e/tests/packages/webpack

1 file changed

+1
-6
lines changed

tests/e2e/tests/packages/webpack/weird.ts

+1-6
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,7 @@ export default function(skipCleaning: () => void) {
1515
.then(() => expectFileToExist('dist/0.app.main.js'))
1616
.then(() => expectFileToExist('dist/1.app.main.js'))
1717
.then(() => expectFileToExist('dist/2.app.main.js'))
18-
// 4.0.0-beta.8 added roughly 80kb extra size (401kb to 480kb).
19-
// For now we have fixed the test below, but when the size drops down again replace the
20-
// two lines below with the commented one.
21-
.then(() => expectFileSizeToBeUnder('dist/app.main.js', 481000))
22-
.then(() => expectToFail(() => expectFileSizeToBeUnder('dist/app.main.js', 410000)))
23-
// .then(() => expectFileSizeToBeUnder('dist/app.main.js', 410000))
18+
.then(() => expectFileSizeToBeUnder('dist/app.main.js', 410000))
2419
.then(() => expectFileSizeToBeUnder('dist/0.app.main.js', 40000))
2520

2621
// Skip code generation and rebuild.

0 commit comments

Comments
 (0)