@trackunit/react-vite-test-setup 0.0.99 → 0.0.101

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/index.cjs.js CHANGED
@@ -674,10 +674,10 @@ const setupTranslations = () => {
674
674
  };
675
675
  const i18n = { language: "en", exists: () => true };
676
676
  const useMock = [
677
- (k, extra) => k + (extra ? " props: " + JSON.stringify(extra) : ""),
677
+ (k, extra) => k + (extra ? ` props: ${JSON.stringify(extra)}` : ""),
678
678
  i18n,
679
679
  ];
680
- useMock.t = (k, extra) => k + (extra ? " props: " + JSON.stringify(extra) : "");
680
+ useMock.t = (k, extra) => k + (extra ? ` props: ${JSON.stringify(extra)}` : "");
681
681
  useMock.i18n = i18n;
682
682
  const useTranslation = () => useMock;
683
683
  const Trans = ({ i18nKey, components, children }) => {
package/index.esm.js CHANGED
@@ -653,10 +653,10 @@ const setupTranslations = () => {
653
653
  };
654
654
  const i18n = { language: "en", exists: () => true };
655
655
  const useMock = [
656
- (k, extra) => k + (extra ? " props: " + JSON.stringify(extra) : ""),
656
+ (k, extra) => k + (extra ? ` props: ${JSON.stringify(extra)}` : ""),
657
657
  i18n,
658
658
  ];
659
- useMock.t = (k, extra) => k + (extra ? " props: " + JSON.stringify(extra) : "");
659
+ useMock.t = (k, extra) => k + (extra ? ` props: ${JSON.stringify(extra)}` : "");
660
660
  useMock.i18n = i18n;
661
661
  const useTranslation = () => useMock;
662
662
  const Trans = ({ i18nKey, components, children }) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@trackunit/react-vite-test-setup",
3
3
  "description": "Test setup utilities for React applications",
4
- "version": "0.0.99",
4
+ "version": "0.0.101",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
7
7
  "engines": {