Skip to content

dolegi/nano-it

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nano It

Tiny test library.

Usage

$ node it.js file-to-test.js second-file-to-test.js ....

Example test

it('1 + 1 = 2', () => {
  assert(1 + 1 === 2)
})

it('1 + 1 = 2 with mock', () => {
  mock('./add', () => 2)
  const add = require('./add')

  assert(add(1, 1) === 2)
})

About

Nano nodejs test framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published