Files
bruno/packages/bruno-tests/collection/ping.bru
2024-08-13 17:22:08 +05:30

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();
}