mirror of
https://github.com/usebruno/bruno.git
synced 2025-01-24 06:38:42 +01:00
19 lines
303 B
Plaintext
19 lines
303 B
Plaintext
meta {
|
|
name: getCollectionVar
|
|
type: http
|
|
seq: 9
|
|
}
|
|
|
|
get {
|
|
url: {{host}}/ping
|
|
body: none
|
|
auth: none
|
|
}
|
|
|
|
tests {
|
|
test("should get collection var in scripts", function() {
|
|
const testVar = bru.getCollectionVar("collection-var");
|
|
expect(testVar).to.equal("collection-var-value");
|
|
});
|
|
}
|