Skip to content

Jest tests for javascript methods with snippets from MDN WEB docs

Notifications You must be signed in to change notification settings

trackmystories/jest_tests_js_methods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UNIT TESTS WITH JEST

set up

 npm install

run tests


 yarn test

 or

 npm run test

./assets/img.png

Jest : Unit tests for the following JS methods:

./Object.prototype

Object.prototype.toString()

./Function.prototype

Function.prototype.call()

Function.prototype.apply()

Function.prototype.bind()

./Array.prototype

Array.prototype.join()

Array.prototype.find()

Array.prototype.findIndex()

Array.prototype.filter()

Array.prototype.fill()

Array.prototype.flat()

Array.prototype.unshift()

Array.prototype.shift()

Array.prototype.every()

Array.prototype.map()

Array.prototype.push()

Array.prototype.forEach()

./Math

./Math/StaticMethods

Math.random()

Math.abs()

Math.cos()

Math.acos()

Math.log10()

./Math/StaticProperties

Math.PI

Math.E

Math.LN2

Math.LOG2E

Math.LOG10E

Math.SQRT1_2

Math.SQRT12

_./Math./examples

Degree To Radians

About

Jest tests for javascript methods with snippets from MDN WEB docs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published