chore: Chore update expect syntax to jesty expect

This commit is contained in:
Tom MacWright
2017-09-08 10:52:11 -07:00
committed by Tom MacWright
parent 5f9f34dd29
commit a9424487ef

View File

@ -83,7 +83,7 @@ describe('content', () => {
select(ast, 'code[lang=json]').forEach(node => {
expect(function() {
JSON.parse(node.value);
}).toNotThrow(null, 'a JSON code block at L:' +
}).not.toThrow('a JSON code block at L:' +
node.position.start.line + ' of ' + file + ' was invalid');
});
});