@m4l/testing 0.0.4 → 0.0.5
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/package.json
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/testing",
|
|
3
3
|
"description": "Shared testing utilities for @m4l",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.5",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "M4L Team",
|
|
7
7
|
"lint-staged": {
|
|
8
|
-
"
|
|
9
|
-
"eslint . --fix"
|
|
10
|
-
]
|
|
8
|
+
"*.{js,ts,tsx}": "eslint --fix --max-warnings 0"
|
|
11
9
|
},
|
|
12
10
|
"dependencies": {
|
|
13
11
|
"@storybook/addon-designs": "^8.0.3",
|
package/test/utils.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { cleanup, screen } from '@testing-library/react';
|
|
|
2
2
|
import { renderHook } from '@testing-library/react-hooks';
|
|
3
3
|
import { default as React, act } from 'react';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Funcion que permite renderizar un componente de React con las configuraciones necesarias para los test
|
|
6
6
|
* @author Juan Escobar - automatic
|
|
7
7
|
* @createdAt 2024-10-04 19:38:19 - automatic
|
|
8
8
|
* @updatedAt 2024-10-04 19:38:19 - automatic
|