mirror of
https://github.com/usebruno/bruno.git
synced 2025-01-25 15:18:50 +01:00
19 lines
283 B
Plaintext
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");
|
||
|
});
|
||
|
}
|