From 1bc7a1f65584544026313f75ba22225ec16ef49f Mon Sep 17 00:00:00 2001 From: Anoop M D Date: Sun, 7 Sep 2025 21:49:11 +0530 Subject: [PATCH] Modify body size test to check for > 1MB --- packages/bruno-tests/collection/scripting/api/res/getSize.bru | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/bruno-tests/collection/scripting/api/res/getSize.bru b/packages/bruno-tests/collection/scripting/api/res/getSize.bru index 2d727ea07..3856f18eb 100644 --- a/packages/bruno-tests/collection/scripting/api/res/getSize.bru +++ b/packages/bruno-tests/collection/scripting/api/res/getSize.bru @@ -21,7 +21,8 @@ script:post-response { tests { test("test body size", function() { const bodySize = res.getSize().body; - expect(bodySize === 1048934).to.be.true; + // 1MB = 1024*1024 = 1048576 + expect(bodySize > 1048576).to.be.true; }); test("test header size", function() {