merging @deniswolf's new tests, and double-checking that generateUUID still works

v1.18.x
Julian Lam 11 years ago
parent 67f9b22c86
commit 1fb09a9c8c

@ -1,13 +1,19 @@
var DebugRoute = function(app) {
var Notifications = require('../notifications');
app.namespace('/debug', function() {
app.get('/prune', function(req, res) {
var Notifications = require('../notifications');
Notifications.prune(new Date(), function() {
console.log('done');
});
res.send();
});
app.get('/uuidtest', function(req, res) {
var Utils = require('../../public/src/utils.js');
res.send(Utils.generateUUID());
});
});
};

Loading…
Cancel
Save