@ebertjendustries/cstestwrapper 1.0.6 → 1.0.8

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/dist/index.d.mts CHANGED
@@ -10,8 +10,8 @@ import React from 'react';
10
10
  /**
11
11
  * Implemented by the application importing the library to provide their own Localiser implementation used for testing.
12
12
  */
13
- interface TestLocalisation {
14
- getLocaliser(namespace: LocalisationNamespace): Localiser;
13
+ declare abstract class TestLocalisation {
14
+ abstract getLocaliser(namespace: LocalisationNamespace): Localiser;
15
15
  }
16
16
 
17
17
  declare class AbstractSelectTesting<SelectWrapperType extends DropdownHostComponentWrapper> extends AbstractComponentTesting<SelectWrapperType, FieldSpec> {
@@ -568,4 +568,4 @@ declare class ViewTestWrapperProps<T> {
568
568
  }
569
569
  declare function ViewTestWrapper<T>(props: ViewTestWrapperProps<T>): react_jsx_runtime.JSX.Element;
570
570
 
571
- export { AbstractComponentTesting, AbstractInputTesting, AbstractSelectTesting, AbstractViewTesting, AlertTesting, BoxTesting, ButtonDropdownTesting, ButtonTesting, CSVNoItemsViewTesting, CSVPriceInputViewTesting, CSVSearchFilterViewTesting, CSVTextPromptModalViewTesting, CardsTesting, CheckboxTesting, CollectionPreferencesSetting, CollectionPreferencesTesting, DatePickerTesting, FlashbarTesting, FormTesting, HeaderTesting, IconTesting, LinkTesting, MockBrowserAPIs, MockRestClient, MockServerBuilder, ModalTesting, MultiselectTesting, NumberInputTesting, PaginationTesting, ProgressBarTesting, RatingTesting, SegmentedControlTesting, SelectTesting, StatusIndicatorTesting, StringInputTesting, TableTesting, TabsTesting, type TestLocalisation, TestingFactory, TextContentTesting, TextFilterTesting, TextareaTesting, ToggleTesting, ViewTestWrapper, WizardTesting, setupRestClientMock };
571
+ export { AbstractComponentTesting, AbstractInputTesting, AbstractSelectTesting, AbstractViewTesting, AlertTesting, BoxTesting, ButtonDropdownTesting, ButtonTesting, CSVNoItemsViewTesting, CSVPriceInputViewTesting, CSVSearchFilterViewTesting, CSVTextPromptModalViewTesting, CardsTesting, CheckboxTesting, CollectionPreferencesSetting, CollectionPreferencesTesting, DatePickerTesting, FlashbarTesting, FormTesting, HeaderTesting, IconTesting, LinkTesting, MockBrowserAPIs, MockRestClient, MockServerBuilder, ModalTesting, MultiselectTesting, NumberInputTesting, PaginationTesting, ProgressBarTesting, RatingTesting, SegmentedControlTesting, SelectTesting, StatusIndicatorTesting, StringInputTesting, TableTesting, TabsTesting, TestLocalisation, TestingFactory, TextContentTesting, TextFilterTesting, TextareaTesting, ToggleTesting, ViewTestWrapper, WizardTesting, setupRestClientMock };
package/dist/index.d.ts CHANGED
@@ -10,8 +10,8 @@ import React from 'react';
10
10
  /**
11
11
  * Implemented by the application importing the library to provide their own Localiser implementation used for testing.
12
12
  */
13
- interface TestLocalisation {
14
- getLocaliser(namespace: LocalisationNamespace): Localiser;
13
+ declare abstract class TestLocalisation {
14
+ abstract getLocaliser(namespace: LocalisationNamespace): Localiser;
15
15
  }
16
16
 
17
17
  declare class AbstractSelectTesting<SelectWrapperType extends DropdownHostComponentWrapper> extends AbstractComponentTesting<SelectWrapperType, FieldSpec> {
@@ -568,4 +568,4 @@ declare class ViewTestWrapperProps<T> {
568
568
  }
569
569
  declare function ViewTestWrapper<T>(props: ViewTestWrapperProps<T>): react_jsx_runtime.JSX.Element;
570
570
 
571
- export { AbstractComponentTesting, AbstractInputTesting, AbstractSelectTesting, AbstractViewTesting, AlertTesting, BoxTesting, ButtonDropdownTesting, ButtonTesting, CSVNoItemsViewTesting, CSVPriceInputViewTesting, CSVSearchFilterViewTesting, CSVTextPromptModalViewTesting, CardsTesting, CheckboxTesting, CollectionPreferencesSetting, CollectionPreferencesTesting, DatePickerTesting, FlashbarTesting, FormTesting, HeaderTesting, IconTesting, LinkTesting, MockBrowserAPIs, MockRestClient, MockServerBuilder, ModalTesting, MultiselectTesting, NumberInputTesting, PaginationTesting, ProgressBarTesting, RatingTesting, SegmentedControlTesting, SelectTesting, StatusIndicatorTesting, StringInputTesting, TableTesting, TabsTesting, type TestLocalisation, TestingFactory, TextContentTesting, TextFilterTesting, TextareaTesting, ToggleTesting, ViewTestWrapper, WizardTesting, setupRestClientMock };
571
+ export { AbstractComponentTesting, AbstractInputTesting, AbstractSelectTesting, AbstractViewTesting, AlertTesting, BoxTesting, ButtonDropdownTesting, ButtonTesting, CSVNoItemsViewTesting, CSVPriceInputViewTesting, CSVSearchFilterViewTesting, CSVTextPromptModalViewTesting, CardsTesting, CheckboxTesting, CollectionPreferencesSetting, CollectionPreferencesTesting, DatePickerTesting, FlashbarTesting, FormTesting, HeaderTesting, IconTesting, LinkTesting, MockBrowserAPIs, MockRestClient, MockServerBuilder, ModalTesting, MultiselectTesting, NumberInputTesting, PaginationTesting, ProgressBarTesting, RatingTesting, SegmentedControlTesting, SelectTesting, StatusIndicatorTesting, StringInputTesting, TableTesting, TabsTesting, TestLocalisation, TestingFactory, TextContentTesting, TextFilterTesting, TextareaTesting, ToggleTesting, ViewTestWrapper, WizardTesting, setupRestClientMock };
package/dist/index.js CHANGED
@@ -67,6 +67,7 @@ __export(index_exports, {
67
67
  StringInputTesting: () => StringInputTesting,
68
68
  TableTesting: () => TableTesting,
69
69
  TabsTesting: () => TabsTesting,
70
+ TestLocalisation: () => TestLocalisation,
70
71
  TestingFactory: () => TestingFactory,
71
72
  TextContentTesting: () => TextContentTesting,
72
73
  TextFilterTesting: () => TextFilterTesting,
@@ -78,6 +79,10 @@ __export(index_exports, {
78
79
  });
79
80
  module.exports = __toCommonJS(index_exports);
80
81
 
82
+ // src/localisation/TestLocalisation.ts
83
+ var TestLocalisation = class {
84
+ };
85
+
81
86
  // src/components/AbstractComponentTesting.ts
82
87
  var import_dom = __toESM(require("@cloudscape-design/components/test-utils/dom"));
83
88
  var import_react = require("@testing-library/react");
@@ -1915,6 +1920,7 @@ function ViewTestWrapper(props) {
1915
1920
  StringInputTesting,
1916
1921
  TableTesting,
1917
1922
  TabsTesting,
1923
+ TestLocalisation,
1918
1924
  TestingFactory,
1919
1925
  TextContentTesting,
1920
1926
  TextFilterTesting,
package/dist/index.mjs CHANGED
@@ -1,3 +1,7 @@
1
+ // src/localisation/TestLocalisation.ts
2
+ var TestLocalisation = class {
3
+ };
4
+
1
5
  // src/components/AbstractComponentTesting.ts
2
6
  import wrapper from "@cloudscape-design/components/test-utils/dom";
3
7
  import { screen, waitForElementToBeRemoved } from "@testing-library/react";
@@ -1836,6 +1840,7 @@ export {
1836
1840
  StringInputTesting,
1837
1841
  TableTesting,
1838
1842
  TabsTesting,
1843
+ TestLocalisation,
1839
1844
  TestingFactory,
1840
1845
  TextContentTesting,
1841
1846
  TextFilterTesting,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebertjendustries/cstestwrapper",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",