mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-16 04:11:29 +00:00
19 lines
243 B
Plaintext
19 lines
243 B
Plaintext
meta {
|
|
name: getPath
|
|
type: http
|
|
seq: 1
|
|
}
|
|
|
|
get {
|
|
url: {{host}}/api/users/123
|
|
body: none
|
|
auth: none
|
|
}
|
|
|
|
tests {
|
|
test("req.getPath()", function() {
|
|
const path = req.getPath();
|
|
expect(path).to.equal("/api/users/123");
|
|
});
|
|
}
|