chore: Chore update expect syntax to jesty expect
This commit is contained in:
committed by
Tom MacWright
parent
5f9f34dd29
commit
a9424487ef
@ -83,7 +83,7 @@ describe('content', () => {
|
|||||||
select(ast, 'code[lang=json]').forEach(node => {
|
select(ast, 'code[lang=json]').forEach(node => {
|
||||||
expect(function() {
|
expect(function() {
|
||||||
JSON.parse(node.value);
|
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');
|
node.position.start.line + ' of ' + file + ' was invalid');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user