Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 983 Bytes

File metadata and controls

14 lines (10 loc) · 983 Bytes

Any assert in ./asserts folder is same thing you use in .extend

It's just a pure function which receives base as first argument and calling arguments further.

There are more info in template assert. You can find it here: asserts/_template.js + test/asserts/template.test.js. Use it for creating your own templates.

When you are ready for pull request - make sure it has:

  • tests with ok, !ok, and returned sections
  • Description. (I will copy-paste it into API section of this doc)

In dev process use:

  • npm start - build and watch for rebuild with webpack
  • npm test - run tests with mocha and chai
  • npm run tdd - rerun tests on-change with nodemon