mirror of
https://github.com/usebruno/bruno.git
synced 2025-02-16 17:51:48 +01:00
fix: fixed failing test
This commit is contained in:
parent
65b76b7281
commit
54d4a74355
@ -36,7 +36,8 @@ assert {
|
|||||||
tests {
|
tests {
|
||||||
test("should return json", function() {
|
test("should return json", function() {
|
||||||
const url = req.getUrl();
|
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();
|
const data = res.getBody();
|
||||||
expect(res.getBody()).to.eql({
|
expect(res.getBody()).to.eql({
|
||||||
|
Loading…
Reference in New Issue
Block a user