0.0.8 • Published 5 years ago
saber-expect v0.0.8
saber-expect
test you code.
# from npm
npm install saber-expect
# from github
git clone https://github.com/Saber2pr/saber-expect.git
function add(x, y) {
return x + y
}
describe(() =>
expect('add(1, 1)', () => add(1, 1) === 2).expect(
'add(1, 2)',
() => add(1, 2) === 3
)
)
start
npm install
npm start
npm test
Author: saber2pr