Skip to content

Commit

Permalink
test: revert AoTPlugin size update (#5003)
Browse files Browse the repository at this point in the history
Revert #4834
  • Loading branch information
filipesilva authored Feb 25, 2017
1 parent 41cd35e commit 469e692
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/e2e/tests/packages/webpack/weird.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@ export default function(skipCleaning: () => void) {
.then(() => expectFileToExist('dist/0.app.main.js'))
.then(() => expectFileToExist('dist/1.app.main.js'))
.then(() => expectFileToExist('dist/2.app.main.js'))
// 4.0.0-beta.8 added roughly 80kb extra size (401kb to 480kb).
// For now we have fixed the test below, but when the size drops down again replace the
// two lines below with the commented one.
.then(() => expectFileSizeToBeUnder('dist/app.main.js', 481000))
.then(() => expectToFail(() => expectFileSizeToBeUnder('dist/app.main.js', 410000)))
// .then(() => expectFileSizeToBeUnder('dist/app.main.js', 410000))
.then(() => expectFileSizeToBeUnder('dist/app.main.js', 410000))
.then(() => expectFileSizeToBeUnder('dist/0.app.main.js', 40000))

// Skip code generation and rebuild.
Expand Down

0 comments on commit 469e692

Please sign in to comment.