From 850cbe62de4609a495aaf3436b50d8c8d24fa40d Mon Sep 17 00:00:00 2001 From: Chang-Hung Liang Date: Wed, 23 Oct 2024 15:48:55 +0800 Subject: [PATCH] CLI is actually much smaller now since many docs are deleted --- packages/cli/src/smoke-tests/smoke-tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/smoke-tests/smoke-tests.js b/packages/cli/src/smoke-tests/smoke-tests.js index 21b072887..159e5672d 100644 --- a/packages/cli/src/smoke-tests/smoke-tests.js +++ b/packages/cli/src/smoke-tests/smoke-tests.js @@ -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.7, baselineSize * 1.3); + newSize.should.be.within(baselineSize * 0.5, baselineSize * 1.3); this.test.title += ` (${baselineSize} -> ${newSize} bytes)`; });