1.1.6 • Published 6 years ago

simulor v1.1.6

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Build Status

Install

npm i --save-dev simulor

yarn add -D simulor

Usage

It has own simple assertion library at src/assert.js test/index.mjs

import Simulor from 'simulor';
const tests = new Simulor;

// Adds a test that will run when .run() gets called
tests.add('equal meme', t => t.equal(2, 2));

// .pass() ignores function you provide and passes test every time
tests.pass('test2', t => t.equal(1, 2));

// .dont() doesn't run test at all
tests.dont('test3', t => t.equal(2, 2));

// Runs tests
// if you pass false process won't exit and .run will return promise
tests.run(exit = true);
1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.1-rc1

6 years ago