2.0.1 • Published 3 years ago
jestfractal v2.0.1
jest-fractal
Description
- make npm i - for installing lodash library
- write tests only in src/test/... {filename.test.js}
- in every file make require:
- const { describe, test } = require("../src/describe-test.js)
- const { fnName } = require("../src/Matchers/...)
Writing tests
write first function describe, inside write function test, after this steps we can write our tests
Example how write test
Installing npm jest-fractal
npm i jestfractal