Skip to content

Commit

Permalink
Merge pull request #909 from zapier/PDE-5460-increase-cli-package-size
Browse files Browse the repository at this point in the history
PDE-5460 test(cli): more strict assertion on CLI package size in smoke tests
  • Loading branch information
eliangcs authored Oct 31, 2024
2 parents 88e4701 + 934d85b commit 414717c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/smoke-tests/smoke-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ describe('smoke tests - setup will take some time', function () {
const latestVersion = await getPackageLatestVersion(packageName);
const baselineSize = await getPackageSize(packageName, latestVersion);
const newSize = fs.statSync(context.package.path).size;
newSize.should.be.within(baselineSize * 0.5, baselineSize * 1.3);
newSize.should.be.within(baselineSize * 0.7, baselineSize * 1.3);

this.test.title += ` (${baselineSize} -> ${newSize} bytes)`;
});
Expand Down

0 comments on commit 414717c

Please sign in to comment.