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