jasmine is a library created in 2008.
Simple JavaScript testing framework for browsers and node.js
View source