Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function testJson(files) {
t.ok(files['json/invalid.json']);
t.ok(files['json/pages.json']);
t.ok(files['json/pages.json'].contents.equals(read('json/pages.json')));
}
});function testJson(files) {
t.ok(files['json/invalid.json']);
t.ok(files['json/pages.json']);
t.ok(files['json/pages.json'].contents.equals(read('json/pages.json')));
}
});