2.0.1 • Published 3 years ago

jestfractal v2.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

jest-fractal

Description

  1. make npm i - for installing lodash library
  2. write tests only in src/test/... {filename.test.js}
  3. 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

2.0.1

3 years ago

2.0.0

3 years ago