query params not working
Closed this issue · 1 comments
oreporan commented
Adding queryParams in the to()
part doesn't catch, and returns 400 in my test.
example:
.httpFakeCalls
.get()
.to('some/path/with/query?a=b')
.willReturn({
users: value
});
make request to some/path/with/query?a=b
returns 400
this: 'some/path/with/query
works even if the request is some/path/with/query?a=b
which leads me to believe the to()
ignores query params
oreporan commented
made pull request, should be in next version