Skip to content

DinexJS/dinex

Repository files navigation

Dinex.JS

Easy JavaScript testing

Dinex is an easy , simple and light javaScript library for testing.

Example

Writing tests is dinex is so easy so Take a look at this examples:

const { test, expect } = require('dinex');
function add(a, b) {
  return a + b;
}
test('1+2 should equal to 3', () => {
  expect(add(1, 2)).toEqual(3);
});

Result:

Test 1+2 should equal to 3 passed

Releases

No releases published

Packages

No packages published