Skip to content

Commit

Permalink
test: Remove webpack max size requirement (#1844)
Browse files Browse the repository at this point in the history
* test: Remove webpack max size requirement

* chore: pin `cheerio` of `@compodoc/compodoc`
  • Loading branch information
danielbankhead authored Aug 16, 2024
1 parent 3ae120d commit 8f45561
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"assert-rejects": "^1.0.0",
"c8": "^8.0.0",
"chai": "^4.2.0",
"cheerio": "1.0.0-rc.12",
"codecov": "^3.0.2",
"execa": "^5.0.0",
"gts": "^5.0.0",
Expand Down
4 changes: 2 additions & 2 deletions system-test/test.kitchen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ describe('pack and install', () => {
// we expect npm install is executed in the before hook
await execa('npx', ['webpack'], {cwd: `${stagingDir}/`, stdio: 'inherit'});
const bundle = path.join(stagingDir, 'dist', 'bundle.min.js');
const stat = fs.statSync(bundle);
assert(stat.size < 512 * 1024);
// ensure it is a non-empty bundle
assert(fs.statSync(bundle).size);
});

/**
Expand Down

0 comments on commit 8f45561

Please sign in to comment.