@taiga-ui/testing 4.8.1-canary.f683230 → 4.9.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 +50 -50
@@ -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,55 +1,55 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
"name": "@taiga-ui/testing",
|
3
|
+
"version": "4.9.0",
|
4
|
+
"description": "Utils functions for testing Taiga UI packages",
|
5
|
+
"peerDependencies": {
|
6
|
+
"@taiga-ui/cdk": "^4.9.0"
|
7
|
+
},
|
8
|
+
"module": "fesm2022/taiga-ui-testing.mjs",
|
9
|
+
"typings": "index.d.ts",
|
10
|
+
"exports": {
|
11
|
+
"./package.json": {
|
12
|
+
"default": "./package.json"
|
7
13
|
},
|
8
|
-
"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
},
|
14
|
-
".": {
|
15
|
-
"types": "./index.d.ts",
|
16
|
-
"esm2022": "./esm2022/taiga-ui-testing.mjs",
|
17
|
-
"esm": "./esm2022/taiga-ui-testing.mjs",
|
18
|
-
"default": "./fesm2022/taiga-ui-testing.mjs"
|
19
|
-
},
|
20
|
-
"./core": {
|
21
|
-
"types": "./core/index.d.ts",
|
22
|
-
"esm2022": "./esm2022/core/taiga-ui-testing-core.mjs",
|
23
|
-
"esm": "./esm2022/core/taiga-ui-testing-core.mjs",
|
24
|
-
"default": "./fesm2022/taiga-ui-testing-core.mjs"
|
25
|
-
},
|
26
|
-
"./exceptions": {
|
27
|
-
"types": "./exceptions/index.d.ts",
|
28
|
-
"esm2022": "./esm2022/exceptions/taiga-ui-testing-exceptions.mjs",
|
29
|
-
"esm": "./esm2022/exceptions/taiga-ui-testing-exceptions.mjs",
|
30
|
-
"default": "./fesm2022/taiga-ui-testing-exceptions.mjs"
|
31
|
-
},
|
32
|
-
"./mocks": {
|
33
|
-
"types": "./mocks/index.d.ts",
|
34
|
-
"esm2022": "./esm2022/mocks/taiga-ui-testing-mocks.mjs",
|
35
|
-
"esm": "./esm2022/mocks/taiga-ui-testing-mocks.mjs",
|
36
|
-
"default": "./fesm2022/taiga-ui-testing-mocks.mjs"
|
37
|
-
},
|
38
|
-
"./setup-jest": {
|
39
|
-
"types": "./setup-jest/index.d.ts",
|
40
|
-
"esm2022": "./esm2022/setup-jest/taiga-ui-testing-setup-jest.mjs",
|
41
|
-
"esm": "./esm2022/setup-jest/taiga-ui-testing-setup-jest.mjs",
|
42
|
-
"default": "./fesm2022/taiga-ui-testing-setup-jest.mjs"
|
43
|
-
},
|
44
|
-
"./utils": {
|
45
|
-
"types": "./utils/index.d.ts",
|
46
|
-
"esm2022": "./esm2022/utils/taiga-ui-testing-utils.mjs",
|
47
|
-
"esm": "./esm2022/utils/taiga-ui-testing-utils.mjs",
|
48
|
-
"default": "./fesm2022/taiga-ui-testing-utils.mjs"
|
49
|
-
}
|
14
|
+
".": {
|
15
|
+
"types": "./index.d.ts",
|
16
|
+
"esm2022": "./esm2022/taiga-ui-testing.mjs",
|
17
|
+
"esm": "./esm2022/taiga-ui-testing.mjs",
|
18
|
+
"default": "./fesm2022/taiga-ui-testing.mjs"
|
50
19
|
},
|
51
|
-
"
|
52
|
-
|
53
|
-
|
20
|
+
"./core": {
|
21
|
+
"types": "./core/index.d.ts",
|
22
|
+
"esm2022": "./esm2022/core/taiga-ui-testing-core.mjs",
|
23
|
+
"esm": "./esm2022/core/taiga-ui-testing-core.mjs",
|
24
|
+
"default": "./fesm2022/taiga-ui-testing-core.mjs"
|
25
|
+
},
|
26
|
+
"./exceptions": {
|
27
|
+
"types": "./exceptions/index.d.ts",
|
28
|
+
"esm2022": "./esm2022/exceptions/taiga-ui-testing-exceptions.mjs",
|
29
|
+
"esm": "./esm2022/exceptions/taiga-ui-testing-exceptions.mjs",
|
30
|
+
"default": "./fesm2022/taiga-ui-testing-exceptions.mjs"
|
31
|
+
},
|
32
|
+
"./mocks": {
|
33
|
+
"types": "./mocks/index.d.ts",
|
34
|
+
"esm2022": "./esm2022/mocks/taiga-ui-testing-mocks.mjs",
|
35
|
+
"esm": "./esm2022/mocks/taiga-ui-testing-mocks.mjs",
|
36
|
+
"default": "./fesm2022/taiga-ui-testing-mocks.mjs"
|
37
|
+
},
|
38
|
+
"./setup-jest": {
|
39
|
+
"types": "./setup-jest/index.d.ts",
|
40
|
+
"esm2022": "./esm2022/setup-jest/taiga-ui-testing-setup-jest.mjs",
|
41
|
+
"esm": "./esm2022/setup-jest/taiga-ui-testing-setup-jest.mjs",
|
42
|
+
"default": "./fesm2022/taiga-ui-testing-setup-jest.mjs"
|
43
|
+
},
|
44
|
+
"./utils": {
|
45
|
+
"types": "./utils/index.d.ts",
|
46
|
+
"esm2022": "./esm2022/utils/taiga-ui-testing-utils.mjs",
|
47
|
+
"esm": "./esm2022/utils/taiga-ui-testing-utils.mjs",
|
48
|
+
"default": "./fesm2022/taiga-ui-testing-utils.mjs"
|
54
49
|
}
|
50
|
+
},
|
51
|
+
"sideEffects": false,
|
52
|
+
"dependencies": {
|
53
|
+
"tslib": "^2.7.0"
|
54
|
+
}
|
55
55
|
}
|