From ef6a3e01de6edfa320bd08e1681085662aaf1989 Mon Sep 17 00:00:00 2001 From: John Haugeland Date: Thu, 26 Oct 2017 23:19:54 -0700 Subject: [PATCH] get coverage back --- src/js/tests/compile.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/js/tests/compile.js b/src/js/tests/compile.js index 54abb275..91979578 100644 --- a/src/js/tests/compile.js +++ b/src/js/tests/compile.js @@ -60,6 +60,12 @@ describe('error catchery', async _parse_it => { } )); }); + describe('unnamed state_declaration', async it => { + it('throws', t => t.throws( () => { + jssm.compile( [{"key":"state_declaration"}] ); + } )); + }); + }); // stochable