Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions tests/patches/@firebase+rules-unit-testing+4.0.1.patch
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
diff --git a/node_modules/@firebase/rules-unit-testing/dist/index.cjs.js b/node_modules/@firebase/rules-unit-testing/dist/index.cjs.js
index dd6426f..15b64b9 100644
index dd6426f..d053c39 100644
--- a/node_modules/@firebase/rules-unit-testing/dist/index.cjs.js
+++ b/node_modules/@firebase/rules-unit-testing/dist/index.cjs.js
@@ -60,8 +60,7 @@ function makeUrl(hostAndPort, path) {
@@ -60,9 +60,7 @@ function makeUrl(hostAndPort, path) {
hostAndPort = `${host}:${port}`;
}
}
- const url = new URL(`http://${hostAndPort}/`);
- url.pathname = path;
+ const url = new URL(`http://${hostAndPort}/${path}`);
return url;
- return url;
+ return new URL(`http://${hostAndPort}/${path}`);
}

/**
Loading