mirror of
https://github.com/bendtherules/some-hooks.git
synced 2026-08-18 22:02:37 +00:00
Testing - Setup @testing-library/react-hooks
This commit is contained in:
+6
-4
@@ -14,8 +14,8 @@
|
||||
},
|
||||
"scripts": {
|
||||
"format": "prettier --write \"{src,example}/**/*.{ts,js}*\"",
|
||||
"test": "cross-env CI=1 react-scripts test --env=jsdom",
|
||||
"test:watch": "react-scripts test --env=jsdom",
|
||||
"test": "cross-env CI=1 react-scripts test",
|
||||
"test:watch": "react-scripts test",
|
||||
"build": "rollup -c",
|
||||
"start": "rollup -c -w",
|
||||
"prepare": "yarn run build",
|
||||
@@ -24,18 +24,20 @@
|
||||
},
|
||||
"dependencies": {},
|
||||
"peerDependencies": {
|
||||
"react": "^16.8.6"
|
||||
"react": "^16.9.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.2.2",
|
||||
"@babel/runtime": "^7.3.1",
|
||||
"@testing-library/react-hooks": "^3.2.1",
|
||||
"@types/jest": "^23.3.13",
|
||||
"@types/react": "^16.7.22",
|
||||
"cross-env": "^5.2.0",
|
||||
"gh-pages": "^2.0.1",
|
||||
"prettier": "^1.19.1",
|
||||
"react": "^16.8.6",
|
||||
"react": "^16.9.0",
|
||||
"react-scripts": "^3.0.1",
|
||||
"react-test-renderer": "^16.9.0",
|
||||
"rollup": "^1.1.2",
|
||||
"rollup-plugin-babel": "^4.3.2",
|
||||
"rollup-plugin-commonjs": "^9.2.0",
|
||||
|
||||
Reference in New Issue
Block a user