mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-08 06:28:33 +00:00
33 lines
552 B
Plaintext
33 lines
552 B
Plaintext
meta {
|
|
name: ping
|
|
type: http
|
|
seq: 1
|
|
}
|
|
|
|
get {
|
|
url: https://testbench-sanity.usebruno.com/ping
|
|
body: none
|
|
auth: none
|
|
}
|
|
|
|
script:pre-request {
|
|
// const moment = require("moment");
|
|
// function a() {
|
|
// return moment().format("hh:mm");
|
|
// return test;
|
|
// }
|
|
// a();
|
|
}
|
|
|
|
tests {
|
|
test("should get var in scripts", function() {
|
|
expect("bruno-test-87267").to.equal("bruno-test-87267");
|
|
});
|
|
// const moment = require("moment");
|
|
// function a() {
|
|
// return moment().format("hh:mm");
|
|
// return test;
|
|
// }
|
|
// a();
|
|
}
|