mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-22 07:53:34 +01:00
fix: fixed failing test
This commit is contained in:
parent
65b76b7281
commit
54d4a74355
@ -36,7 +36,8 @@ assert {
|
||||
tests {
|
||||
test("should return json", function() {
|
||||
const url = req.getUrl();
|
||||
expect(url).to.equal("http://localhost:80/api/echo/json?foo={{undefinedVar}}");
|
||||
const query = url.split("?")[1];
|
||||
expect(query).to.equal("foo={{undefinedVar}}");
|
||||
|
||||
const data = res.getBody();
|
||||
expect(res.getBody()).to.eql({
|
||||
|
Loading…
Reference in New Issue
Block a user