@trackunit/react-vite-test-setup 0.0.167-alpha-f04589101e3.0 → 0.0.168

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
@@ -1023,6 +1023,7 @@ const setupReactTestingLibrary = () => {
1023
1023
  getTokensSync: vitest.vi.fn().mockReturnValue({}),
1024
1024
  },
1025
1025
  getOriginalUri: vitest.vi.fn(),
1026
+ getOrRenewAccessToken: vitest.vi.fn().mockResolvedValue(mockedAccessToken.accessToken),
1026
1027
  signOut: vitest.vi.fn().mockResolvedValue({ postLogoutRedirectUri: "mocked-url", clearTokensBeforeRedirect: true }),
1027
1028
  token: {
1028
1029
  getWithRedirect: vitest.vi.fn(),
package/index.esm.js CHANGED
@@ -1002,6 +1002,7 @@ const setupReactTestingLibrary = () => {
1002
1002
  getTokensSync: vi.fn().mockReturnValue({}),
1003
1003
  },
1004
1004
  getOriginalUri: vi.fn(),
1005
+ getOrRenewAccessToken: vi.fn().mockResolvedValue(mockedAccessToken.accessToken),
1005
1006
  signOut: vi.fn().mockResolvedValue({ postLogoutRedirectUri: "mocked-url", clearTokensBeforeRedirect: true }),
1006
1007
  token: {
1007
1008
  getWithRedirect: vi.fn(),
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.167-alpha-f04589101e3.0",
4
+ "version": "0.0.168",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
7
7
  "engines": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"entry.js","sourceRoot":"","sources":["../../../../../libs/react/vite-test-setup/migrations/entry.ts"],"names":[],"mappings":"","sourcesContent":["export {};\n"]}