bruno/packages/bruno-tests/collection/scripting/api/bru/getFolderVar.bru
2024-12-05 15:45:36 +05:30

19 lines
283 B
Plaintext

meta {
name: getFolderVar
type: http
seq: 8
}
get {
url: {{host}}/ping
body: none
auth: none
}
tests {
test("should get folder var in scripts", function() {
const testVar = bru.getFolderVar("folder-var");
expect(testVar).to.equal("folder-var-value");
});
}