@ebertjendustries/cstestwrapper 1.0.5 → 1.0.6
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 +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -0
- package/dist/index.mjs +3 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -421,6 +421,7 @@ declare abstract class AbstractComponentTesting<WrapperType extends ElementWrapp
|
|
|
421
421
|
expectDisabled(): void;
|
|
422
422
|
click(): void;
|
|
423
423
|
expectReadOnly(): void;
|
|
424
|
+
expectNotReadOnly(): void;
|
|
424
425
|
expectChecked(): void;
|
|
425
426
|
expectNotChecked(): void;
|
|
426
427
|
expectCheckState(checked: boolean): void;
|
package/dist/index.d.ts
CHANGED
|
@@ -421,6 +421,7 @@ declare abstract class AbstractComponentTesting<WrapperType extends ElementWrapp
|
|
|
421
421
|
expectDisabled(): void;
|
|
422
422
|
click(): void;
|
|
423
423
|
expectReadOnly(): void;
|
|
424
|
+
expectNotReadOnly(): void;
|
|
424
425
|
expectChecked(): void;
|
|
425
426
|
expectNotChecked(): void;
|
|
426
427
|
expectCheckState(checked: boolean): void;
|
package/dist/index.js
CHANGED
|
@@ -163,6 +163,9 @@ var AbstractComponentTesting = class _AbstractComponentTesting {
|
|
|
163
163
|
expectReadOnly() {
|
|
164
164
|
(0, import_vitest.expect)(this.getElement()).toHaveAttribute("readOnly", "true");
|
|
165
165
|
}
|
|
166
|
+
expectNotReadOnly() {
|
|
167
|
+
(0, import_vitest.expect)(this.getElement()).not.toHaveAttribute("readOnly");
|
|
168
|
+
}
|
|
166
169
|
expectChecked() {
|
|
167
170
|
(0, import_vitest.expect)(this.getElement(), this.msgForExpect()).toBeChecked();
|
|
168
171
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -83,6 +83,9 @@ var AbstractComponentTesting = class _AbstractComponentTesting {
|
|
|
83
83
|
expectReadOnly() {
|
|
84
84
|
expect(this.getElement()).toHaveAttribute("readOnly", "true");
|
|
85
85
|
}
|
|
86
|
+
expectNotReadOnly() {
|
|
87
|
+
expect(this.getElement()).not.toHaveAttribute("readOnly");
|
|
88
|
+
}
|
|
86
89
|
expectChecked() {
|
|
87
90
|
expect(this.getElement(), this.msgForExpect()).toBeChecked();
|
|
88
91
|
}
|