Skip to content

zz860926/lodash_mocha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lodash_mocha

install

$ npm i lodash_mocha

Document

Test

$ mocha

  lodash
    join
      √ _.join(array) equalTo [ 1 | 2 | 3 ]
      √ _.join(array) equalTo [ 1, 2, 3 ]

  lodash
    reverse
      √ _.reverse(['a', 'b', 'c']) equalTo [ 'c','b','a' ]
      √ _.reverse(['1', '2', '3']) equalTo [ '3','2','1']
      √ _.reverse(['1', '2', '3']) equalTo [ '1', '2', '3']

  lodash
    tail
      √ _.tail(['a']) equalTo [ '' ]
      √ _.tail(['a', 'b', 'c', 'd']) equalTo [ 'b', 'c', 'd' ]
      √ _.tail(['1', '2', '3', '4']) equalTo [ '2', '3', '4']
      √ _.tail(['1', '2', '3', '4']) notEqualTo [ '1', '2', '3', '4' ]


  9 passing (15ms)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published