u-test

3.8.11 • Public • Published

Test

Sample usage:

var test = require('u-test'),
    assert = require('assert');

test('Array',function(){
  
  test('#indexOf()',function(){
    
    test('should return -1 when the value is not present',function(){
      
      assert([1,2,3].indexOf(5) == -1);
      assert([1,2,3].indexOf(0) == -1);
      
    });
    
  });
  
});

Readme

Keywords

none

Package Sidebar

Install

npm i u-test

Weekly Downloads

6

Version

3.8.11

License

Apache-2.0

Last publish

Collaborators

  • manvalls