Thursday, February 16, 2017

Jasmine and Underscore vs Lodash

https://groups.google.com/forum/#!topic/jasmine-js/GIzFsJKf-zs

https://github.com/jasmine/jasmine/issues/715

http://stackoverflow.com/questions/16401237/checking-object-equality-in-jasmine

http://stackoverflow.com/questions/31528200/jasmine-test-for-object-properties

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Working_with_Objects

Using jasmine.contains() to check that objects contain certain key/value pairs

 expect(parseNameSpaces.namespace('@prefix foaf:   <http://xmlns.com/foaf/0.1/> .')).toEqual(jasmine.any(Object));

http://joelhooks.com/blog/2014/02/06/stop-writing-for-loops-start-using-underscorejs/

http://stackoverflow.com/questions/13789618/differences-between-lodash-and-underscore

-------------------

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace

 http://stackoverflow.com/questions/874709/converting-user-input-string-to-regular-expression

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys

1 comment: