mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix usage of Meteor.absoluteUrl
This commit is contained in:
@@ -426,7 +426,7 @@ Tinytest.addAsync("webapp - parse url queries", async function (test) {
|
||||
];
|
||||
let i = 0;
|
||||
for await (const queriesTestCase of queriesTestCases) {
|
||||
const resp = await asyncGet(`${Meteor.absoluteUrl()}/queries?${queriesTestCase}`);
|
||||
const resp = await asyncGet(Meteor.absoluteUrl(`/queries?${queriesTestCase}`));
|
||||
const queryParsed = JSON.parse(resp.content);
|
||||
test.equal(queryParsed, queryResults[i]);
|
||||
i++;
|
||||
|
||||
Reference in New Issue
Block a user