@trackunit/react-core-contexts-test 0.1.296 → 0.1.298
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MockedResponse } from "@apollo/client/testing";
|
|
2
2
|
import { AnyRoute } from "@tanstack/react-router";
|
|
3
3
|
import { RenderResult } from "@testing-library/react";
|
|
4
|
-
import { AssetSortingContextValue, ConfirmationDialogContextValue, ErrorHandlingContextValue, FilterBarValues, IAnalyticsContext, ICurrentUserContext, IEnvironmentContext, INavigationContext,
|
|
4
|
+
import { AssetSortingContextValue, ConfirmationDialogContextValue, ErrorHandlingContextValue, FilterBarValues, IAnalyticsContext, ICurrentUserContext, IEnvironmentContext, INavigationContext, OemBrandingContext, IToastContext, ITokenContext, IUserPreferencesContext, IUserSubscriptionContext, ModalDialogContextValue } from "@trackunit/react-core-contexts-api";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { MemoryRouterProps } from "./utils/routingUtils";
|
|
7
7
|
/**
|
|
@@ -28,7 +28,7 @@ export declare class TrackunitProvidersMockBuilder<T extends AnyRoute> {
|
|
|
28
28
|
protected selectedCurrentUserContext: ICurrentUserContext;
|
|
29
29
|
protected selectedCurrentUserPreferenceContext: IUserPreferencesContext;
|
|
30
30
|
protected selectedAnalyticsContext: IAnalyticsContext<Record<string, never>>;
|
|
31
|
-
protected selectedOemBrandingContext:
|
|
31
|
+
protected selectedOemBrandingContext: OemBrandingContext;
|
|
32
32
|
protected selectedUserSubscriptionContext: IUserSubscriptionContext;
|
|
33
33
|
protected selectedFilterBarValues: FilterBarValues;
|
|
34
34
|
/**
|
|
@@ -238,7 +238,7 @@ export declare class TrackunitProvidersMockBuilder<T extends AnyRoute> {
|
|
|
238
238
|
* ...
|
|
239
239
|
* @param oemBrandingContext - Override the default context.
|
|
240
240
|
*/
|
|
241
|
-
oemBrandingContext(oemBrandingContext: Partial<
|
|
241
|
+
oemBrandingContext(oemBrandingContext: Partial<OemBrandingContext>): this;
|
|
242
242
|
/**
|
|
243
243
|
* Use this ToastContext with the given mocks.
|
|
244
244
|
* Defaults to mockToastContext.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const mockOemBrandingContext:
|
|
1
|
+
import { OemBrandingContext } from "@trackunit/react-core-contexts-api";
|
|
2
|
+
export declare const mockOemBrandingContext: OemBrandingContext;
|