Test
Last updated
Was this helpful?
Last updated
Was this helpful?
functional testing
we hava a xxx.js
create a xxx.test.js
"dependencies": { "babel-core": "^6.26.3", "babel-jest": "^23.6.0", "babel-preset-env": "^1.7.0", "jest": "^24.0.0" }
The simplest way to test a value is with exact equality.
To use , install required dependencies via yarn
Jest can be used in projects that use to manage assets, styles, and compilation.