@ebertjendustries/cstestwrapper 1.0.18 → 1.0.19

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
@@ -195,6 +195,7 @@ declare class HeaderTesting extends AbstractComponentTesting<HeaderWrapper, Fiel
195
195
  expectCounter(counterText: string | RegExp): void;
196
196
  expectContent(content: string | RegExp): void;
197
197
  expectNotContent(content: string | RegExp): void;
198
+ expectLocalisation(variables?: any, alternateNs?: LocalisationNamespace): void;
198
199
  }
199
200
 
200
201
  declare class BoxTesting extends AbstractComponentTesting<BoxWrapper, FieldSpec> {
package/dist/index.d.ts CHANGED
@@ -195,6 +195,7 @@ declare class HeaderTesting extends AbstractComponentTesting<HeaderWrapper, Fiel
195
195
  expectCounter(counterText: string | RegExp): void;
196
196
  expectContent(content: string | RegExp): void;
197
197
  expectNotContent(content: string | RegExp): void;
198
+ expectLocalisation(variables?: any, alternateNs?: LocalisationNamespace): void;
198
199
  }
199
200
 
200
201
  declare class BoxTesting extends AbstractComponentTesting<BoxWrapper, FieldSpec> {
package/dist/index.js CHANGED
@@ -836,6 +836,9 @@ var HeaderTesting = class extends AbstractComponentTesting {
836
836
  expectNotContent(content) {
837
837
  (0, import_vitest11.expect)(this.getElementWrapper().findHeadingText().getElement()).not.toHaveTextContent(content);
838
838
  }
839
+ expectLocalisation(variables, alternateNs) {
840
+ this.expectContent(this.getLocalisedField(variables, alternateNs).children.trim());
841
+ }
839
842
  };
840
843
 
841
844
  // src/components/BoxTesting.ts
package/dist/index.mjs CHANGED
@@ -754,6 +754,9 @@ var HeaderTesting = class extends AbstractComponentTesting {
754
754
  expectNotContent(content) {
755
755
  expect11(this.getElementWrapper().findHeadingText().getElement()).not.toHaveTextContent(content);
756
756
  }
757
+ expectLocalisation(variables, alternateNs) {
758
+ this.expectContent(this.getLocalisedField(variables, alternateNs).children.trim());
759
+ }
757
760
  };
758
761
 
759
762
  // src/components/BoxTesting.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebertjendustries/cstestwrapper",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",