Files
bruno/packages/bruno-tests/collection/scripting/api/bru/isSafeMode.bru
Pooja a724f010ff fix bru safe mode and add test (#6667)
* fix bru safe mode and add tests

* rm: settimeout

fix: isSafe mode test (#6844)
2026-01-19 17:26:12 +05:30

23 lines
296 B
Plaintext

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
}