bruno/packages/bruno-tests/collection/scripting/api/bru/getFolderVar.bru

19 lines
283 B
Plaintext
Raw Normal View History

2024-12-05 11:15:36 +01:00
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");
});
}