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

19 lines
250 B
Plaintext
Raw Normal View History

meta {
name: getProcessEnv
type: http
seq: 6
}
get {
url: {{host}}/ping
body: none
auth: none
}
tests {
test("bru.getProcessEnv()", function() {
const v = bru.getProcessEnv("PROC_ENV_VAR");
expect(v).to.equal("woof");
});
}