@truedat/test 7.14.1 → 7.14.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/render.js +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/test",
|
|
3
|
-
"version": "7.14.
|
|
3
|
+
"version": "7.14.3",
|
|
4
4
|
"description": "Truedat Web Test",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"module": "src/index.js",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"react-test-renderer": "^19.1.0",
|
|
59
59
|
"redux": "^5.0.1"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "f8b2f517aa25cf1eab47a89b17e0b08dfe6c8a26"
|
|
62
62
|
}
|
package/src/render.js
CHANGED
|
@@ -15,7 +15,6 @@ const mockXHR = function () {
|
|
|
15
15
|
|
|
16
16
|
// Override open to log the URL being requested
|
|
17
17
|
xhr.open = function () {
|
|
18
|
-
console.log("XHR requested URL:", arguments[1]);
|
|
19
18
|
return originalOpen.apply(this, arguments);
|
|
20
19
|
};
|
|
21
20
|
|
|
@@ -59,7 +58,7 @@ const customRender = (
|
|
|
59
58
|
const content = (
|
|
60
59
|
<MemoryRouter initialEntries={routes} initialIndex={routeIndex}>
|
|
61
60
|
<IntlProvider
|
|
62
|
-
onError={() => {}}
|
|
61
|
+
onError={() => { }}
|
|
63
62
|
locale={locale}
|
|
64
63
|
defaultLocale={locale}
|
|
65
64
|
messages={messages[locale]}
|