@taiga-ui/testing 4.8.1 → 4.10.0
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/esm2022/exceptions/element-is-not-input.exception.mjs +4 -1
- package/esm2022/exceptions/field-not-found.exception.mjs +4 -1
- package/exceptions/element-is-not-input.exception.d.ts +3 -0
- package/exceptions/field-not-found.exception.d.ts +3 -0
- package/fesm2022/taiga-ui-testing-exceptions.mjs +6 -0
- package/fesm2022/taiga-ui-testing-exceptions.mjs.map +1 -1
- package/package.json +2 -2
@@ -1,6 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* @deprecated: drop in v5
|
3
|
+
*/
|
1
4
|
export class TuiElementIsNotInputException extends Error {
|
2
5
|
constructor(automationId) {
|
3
6
|
super(`Element ${automationId} is not <input />`);
|
4
7
|
}
|
5
8
|
}
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWxlbWVudC1pcy1ub3QtaW5wdXQuZXhjZXB0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvdGVzdGluZy9leGNlcHRpb25zL2VsZW1lbnQtaXMtbm90LWlucHV0LmV4Y2VwdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILE1BQU0sT0FBTyw2QkFBOEIsU0FBUSxLQUFLO0lBQ3BELFlBQVksWUFBb0I7UUFDNUIsS0FBSyxDQUFDLFdBQVcsWUFBWSxtQkFBbUIsQ0FBQyxDQUFDO0lBQ3RELENBQUM7Q0FDSiIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGRlcHJlY2F0ZWQ6IGRyb3AgaW4gdjVcbiAqL1xuZXhwb3J0IGNsYXNzIFR1aUVsZW1lbnRJc05vdElucHV0RXhjZXB0aW9uIGV4dGVuZHMgRXJyb3Ige1xuICAgIGNvbnN0cnVjdG9yKGF1dG9tYXRpb25JZDogc3RyaW5nKSB7XG4gICAgICAgIHN1cGVyKGBFbGVtZW50ICR7YXV0b21hdGlvbklkfSBpcyBub3QgPGlucHV0IC8+YCk7XG4gICAgfVxufVxuIl19
|
@@ -1,6 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* @deprecated: drop in v5
|
3
|
+
*/
|
1
4
|
export class TuiFieldNotFoundException extends Error {
|
2
5
|
constructor(automationId) {
|
3
6
|
super(`Field ${automationId} not found`);
|
4
7
|
}
|
5
8
|
}
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmllbGQtbm90LWZvdW5kLmV4Y2VwdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3Rlc3RpbmcvZXhjZXB0aW9ucy9maWVsZC1ub3QtZm91bmQuZXhjZXB0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxPQUFPLHlCQUEwQixTQUFRLEtBQUs7SUFDaEQsWUFBWSxZQUFvQjtRQUM1QixLQUFLLENBQUMsU0FBUyxZQUFZLFlBQVksQ0FBQyxDQUFDO0lBQzdDLENBQUM7Q0FDSiIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGRlcHJlY2F0ZWQ6IGRyb3AgaW4gdjVcbiAqL1xuZXhwb3J0IGNsYXNzIFR1aUZpZWxkTm90Rm91bmRFeGNlcHRpb24gZXh0ZW5kcyBFcnJvciB7XG4gICAgY29uc3RydWN0b3IoYXV0b21hdGlvbklkOiBzdHJpbmcpIHtcbiAgICAgICAgc3VwZXIoYEZpZWxkICR7YXV0b21hdGlvbklkfSBub3QgZm91bmRgKTtcbiAgICB9XG59XG4iXX0=
|
@@ -1,9 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* @deprecated: drop in v5
|
3
|
+
*/
|
1
4
|
class TuiElementIsNotInputException extends Error {
|
2
5
|
constructor(automationId) {
|
3
6
|
super(`Element ${automationId} is not <input />`);
|
4
7
|
}
|
5
8
|
}
|
6
9
|
|
10
|
+
/**
|
11
|
+
* @deprecated: drop in v5
|
12
|
+
*/
|
7
13
|
class TuiFieldNotFoundException extends Error {
|
8
14
|
constructor(automationId) {
|
9
15
|
super(`Field ${automationId} not found`);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"taiga-ui-testing-exceptions.mjs","sources":["../../../projects/testing/exceptions/element-is-not-input.exception.ts","../../../projects/testing/exceptions/field-not-found.exception.ts","../../../projects/testing/exceptions/taiga-ui-testing-exceptions.ts"],"sourcesContent":["
|
1
|
+
{"version":3,"file":"taiga-ui-testing-exceptions.mjs","sources":["../../../projects/testing/exceptions/element-is-not-input.exception.ts","../../../projects/testing/exceptions/field-not-found.exception.ts","../../../projects/testing/exceptions/taiga-ui-testing-exceptions.ts"],"sourcesContent":["/**\n * @deprecated: drop in v5\n */\nexport class TuiElementIsNotInputException extends Error {\n constructor(automationId: string) {\n super(`Element ${automationId} is not <input />`);\n }\n}\n","/**\n * @deprecated: drop in v5\n */\nexport class TuiFieldNotFoundException extends Error {\n constructor(automationId: string) {\n super(`Field ${automationId} not found`);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;AAEG;AACG,MAAO,6BAA8B,SAAQ,KAAK,CAAA;AACpD,IAAA,WAAA,CAAY,YAAoB,EAAA;AAC5B,QAAA,KAAK,CAAC,CAAA,QAAA,EAAW,YAAY,CAAA,iBAAA,CAAmB,CAAC,CAAC;KACrD;AACJ;;ACPD;;AAEG;AACG,MAAO,yBAA0B,SAAQ,KAAK,CAAA;AAChD,IAAA,WAAA,CAAY,YAAoB,EAAA;AAC5B,QAAA,KAAK,CAAC,CAAA,MAAA,EAAS,YAAY,CAAA,UAAA,CAAY,CAAC,CAAC;KAC5C;AACJ;;ACPD;;AAEG;;;;"}
|
package/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
2
|
"name": "@taiga-ui/testing",
|
3
|
-
"version": "4.
|
3
|
+
"version": "4.10.0",
|
4
4
|
"description": "Utils functions for testing Taiga UI packages",
|
5
5
|
"peerDependencies": {
|
6
|
-
"@taiga-ui/cdk": "^4.
|
6
|
+
"@taiga-ui/cdk": "^4.10.0"
|
7
7
|
},
|
8
8
|
"module": "fesm2022/taiga-ui-testing.mjs",
|
9
9
|
"typings": "index.d.ts",
|