UNPKG

ger

Version:

Good Enough Recommendations (GER) is a collaborative filtering based recommendations engine built to be easy to use and integrate into your application.

15 lines (13 loc) 396 B
esm_tests = (ESM) -> ns = "default" describe 'no namespace error', -> it 'should initialize namespace', -> esm = new_esm(ESM) esm.add_event('not_a_namespace', 'p','a','t') .then( -> throw "SHOULD NOT GET HERE" ) .catch( GER.NamespaceDoestNotExist, (e) -> e.message.should.equal "namespace does not exist" ) module.exports = esm_tests;