@m4l/testing 0.0.2 → 0.0.4
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/e2e/findAllColumns/findAllColumns.d.ts +7 -0
- package/index.js +1 -1
- package/index.test.d.ts +1 -0
- package/package.json +53 -7
- package/test/constants.d.ts +0 -0
- package/test/mocks.d.ts +0 -0
- package/test/setup.d.ts +0 -0
- package/test/types.d.ts +0 -0
- package/test/utils.d.ts +13 -0
- /package/e2e/findAllColumns/{findAllColumns-Czr_wVxX.js → findAllColumns.js} +0 -0
package/index.js
CHANGED
package/index.test.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,15 +1,59 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/testing",
|
|
3
3
|
"description": "Shared testing utilities for @m4l",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.4",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "M4L Team",
|
|
7
|
-
"
|
|
7
|
+
"lint-staged": {
|
|
8
|
+
"**/*.{js,jsx,ts,tsx,json}": [
|
|
9
|
+
"eslint . --fix"
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"@storybook/addon-designs": "^8.0.3",
|
|
14
|
+
"@storybook/addon-essentials": "^8.3.4",
|
|
15
|
+
"@storybook/addon-interactions": "^8.3.4",
|
|
16
|
+
"@storybook/addon-links": "^8.3.4",
|
|
17
|
+
"@storybook/addon-onboarding": "^8.3.4",
|
|
18
|
+
"@storybook/blocks": "^8.3.4",
|
|
19
|
+
"@storybook/react": "^8.3.4",
|
|
20
|
+
"@storybook/react-vite": "^8.3.4",
|
|
21
|
+
"@storybook/test": "^8.3.4",
|
|
22
|
+
"@testing-library/dom": "^10.4.0",
|
|
23
|
+
"@testing-library/jest-dom": "^6.5.0",
|
|
24
|
+
"@testing-library/react": "^16.0.0",
|
|
25
|
+
"@testing-library/react-hooks": "^8.0.1",
|
|
26
|
+
"@testing-library/user-event": "^14.5.2",
|
|
27
|
+
"@types/jest": "^29.5.10",
|
|
28
|
+
"@vitejs/plugin-react": "^4.0.0",
|
|
29
|
+
"@vitest/coverage-istanbul": "^2.1.1",
|
|
30
|
+
"@vitest/coverage-v8": "^2.1.1",
|
|
31
|
+
"@vitest/ui": "^2.1.1",
|
|
32
|
+
"cypress": "^13.14.2",
|
|
33
|
+
"cypress-vite": "^1.5.0",
|
|
34
|
+
"jsdom": "^25.0.1",
|
|
35
|
+
"storybook": "^8.3.4",
|
|
36
|
+
"vitest": "^2.1.1"
|
|
37
|
+
},
|
|
38
|
+
"resolutions": {
|
|
39
|
+
"glob": "^10.4.5",
|
|
40
|
+
"react": "^18.0.0",
|
|
41
|
+
"@types/react": "^18.0.0",
|
|
42
|
+
"@types/react-dom": "^18.0.0",
|
|
43
|
+
"react-dom": "^18.0.0",
|
|
44
|
+
"@vitejs/plugin-react": "^4.0.0"
|
|
45
|
+
},
|
|
46
|
+
"overrides": {
|
|
47
|
+
"glob": "^10.4.5",
|
|
48
|
+
"eslint": "^9.0.0",
|
|
49
|
+
"react": "^18.0.0",
|
|
50
|
+
"@types/react": "^18.0.0",
|
|
51
|
+
"@types/react-dom": "^18.0.0",
|
|
52
|
+
"react-dom": "^18.0.0"
|
|
53
|
+
},
|
|
8
54
|
"peerDependencies": {
|
|
9
|
-
"@types/react": "^
|
|
10
|
-
"react": "^
|
|
11
|
-
"cypress": "^12.x || ^13.x",
|
|
12
|
-
"cypress-vite": "^1.x"
|
|
55
|
+
"@types/react": "^18.0.0",
|
|
56
|
+
"react": "^18.0.0"
|
|
13
57
|
},
|
|
14
58
|
"files": [
|
|
15
59
|
"*"
|
|
@@ -25,5 +69,7 @@
|
|
|
25
69
|
},
|
|
26
70
|
"engines": {
|
|
27
71
|
"node": ">=12.0.0"
|
|
28
|
-
}
|
|
72
|
+
},
|
|
73
|
+
"packageManager": "yarn@4.5.0",
|
|
74
|
+
"private": false
|
|
29
75
|
}
|
|
File without changes
|
package/test/mocks.d.ts
ADDED
|
File without changes
|
package/test/setup.d.ts
ADDED
|
File without changes
|
package/test/types.d.ts
ADDED
|
File without changes
|
package/test/utils.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { cleanup, screen } from '@testing-library/react';
|
|
2
|
+
import { renderHook } from '@testing-library/react-hooks';
|
|
3
|
+
import { default as React, act } from 'react';
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @author Juan Escobar - automatic
|
|
7
|
+
* @createdAt 2024-10-04 19:38:19 - automatic
|
|
8
|
+
* @updatedAt 2024-10-04 19:38:19 - automatic
|
|
9
|
+
* @updatedUser Juan Escobar - automatic
|
|
10
|
+
*/
|
|
11
|
+
declare const customRender: (ui: React.ReactElement, options?: {}) => import('@testing-library/react').RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>;
|
|
12
|
+
export { default as userEvent } from '@testing-library/user-event';
|
|
13
|
+
export { customRender as render, renderHook, screen, cleanup, act };
|
|
File without changes
|