Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
QUnit.done = function(failures, total) {
lastMessage = (" " + p.sprintf("%8d", total) + " expectations complete with " + failures + " failures");
};
exports.app = function(env) {
var page = sprintf("Hi ", env.script.require("hello"));
return {
status : 200,
headers : { "Content-Type" : "text/html", "Content-Length" : String(page.length) },
body : [page]
};
};