mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-26 14:15:52 +00:00
Modify body size test to check for > 1MB
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user