fix bru safe mode and add test (#6667)

* fix bru safe mode and add tests

* rm: settimeout

fix: isSafe mode test (#6844)
This commit is contained in:
Pooja
2026-01-19 14:52:42 +05:30
committed by Siddharth Gelera
parent f9423d1238
commit a724f010ff
8 changed files with 124 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
meta {
name: isSafeMode
type: http
seq: 18
}
get {
url: {{host}}/ping
body: none
auth: inherit
}
script:pre-request {
test("bru.isSafeMode() returns true in safe mode", function() {
expect(bru.isSafeMode()).to.be.false;
});
}
settings {
encodeUrl: true
timeout: 0
}