mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-07 14:08:38 +00:00
fix: updates
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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");
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user