UNPKG

396 Btext/coffeescriptView Raw
1esm_tests = (ESM) ->
2 ns = "default"
3
4 describe 'no namespace error', ->
5 it 'should initialize namespace', ->
6 esm = new_esm(ESM)
7 esm.add_event('not_a_namespace', 'p','a','t')
8 .then( ->
9 throw "SHOULD NOT GET HERE"
10 )
11 .catch( GER.NamespaceDoestNotExist, (e) ->
12 e.message.should.equal "namespace does not exist"
13 )
14
15module.exports = esm_tests;
\No newline at end of file