Skip to content

Commit c7e2964

Browse files
committed
test(@ngtools/webpack): remove bundle size tests
1 parent c590ec4 commit c7e2964

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/e2e/tests/packages/webpack/server.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
import {normalize} from 'path';
22
import {createProjectFromAsset} from '../../../utils/assets';
33
import {exec} from '../../../utils/process';
4-
import {expectFileSizeToBeUnder, expectFileToMatch} from '../../../utils/fs';
4+
import {expectFileToMatch} from '../../../utils/fs';
55

66

77
export default function(skipCleaning: () => void) {
88
return Promise.resolve()
99
.then(() => createProjectFromAsset('webpack/test-server-app'))
1010
.then(() => exec(normalize('node_modules/.bin/webpack'), '-p'))
11-
.then(() => expectFileSizeToBeUnder('dist/app.main.js', 420000))
12-
.then(() => expectFileSizeToBeUnder('dist/0.app.main.js', 10000))
1311
.then(() => expectFileToMatch('dist/app.main.js',
1412
new RegExp('.bootstrapModuleFactory'))
1513
.then(() => expectFileToMatch('dist/app.main.js',

0 commit comments

Comments
 (0)