We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var assert = require('assert'); var url = require('url'); assert.equal(url.format({pathname:'/foo', query: 'bar=baz'}), '/foo?bar=baz');
results in AssertionError: '?bar=baz' == '/foo?bar=baz'
AssertionError: '?bar=baz' == '/foo?bar=baz'
If search is falsy, query is used. Unfortunately query is only used, if it is an object. Strings are currently ignored.
search
query
PR incoming
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
results in
AssertionError: '?bar=baz' == '/foo?bar=baz'
If
search
is falsy,query
is used. Unfortunatelyquery
is only used, if it is an object. Strings are currently ignored.PR incoming
The text was updated successfully, but these errors were encountered: