mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-16 04:11:29 +00:00
Safe Mode Sandbox using QuickJS Co-authored-by: Anoop M D <anoop.md1421@gmail.com> Co-authored-by: lohit <lohit.jiddimani@gmail.com>
24 lines
283 B
Plaintext
24 lines
283 B
Plaintext
meta {
|
|
name: getStatus
|
|
type: http
|
|
seq: 1
|
|
}
|
|
|
|
get {
|
|
url: {{host}}/ping
|
|
body: none
|
|
auth: none
|
|
}
|
|
|
|
|
|
assert {
|
|
res.status: eq 200
|
|
res.body: eq pong
|
|
}
|
|
|
|
tests {
|
|
test("res.getStatus()", function() {
|
|
const status = res.getStatus()
|
|
expect(status).to.equal(200);
|
|
});
|
|
} |