projects
/
websub-hub
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update dependencies and remove now-redundant functions
[websub-hub]
/
test
/
src
/
service.js
diff --git
a/test/src/service.js
b/test/src/service.js
index a00b2cea49d882790e8be6e427d913be467af6ff..7a97cf5366f88a70a32702170658b4f2e50c7c97 100644
(file)
--- a/
test/src/service.js
+++ b/
test/src/service.js
@@
-60,14
+60,6
@@
describe('Service', function () {
});
}); // maybeIngestBody
});
}); // maybeIngestBody
- describe('handlerRedirect', function () {
- it('covers', async function () {
- await service.handlerRedirect(req, res, ctx, '/');
- assert(res.end.called);
- assert.strictEqual(res.statusCode, 307);
- });
- }); // handlerRedirect
-
describe('handlerPostRoot', function () {
it('covers public mode', async function () {
await service.handlerPostRoot(req, res, ctx);
describe('handlerPostRoot', function () {
it('covers public mode', async function () {
await service.handlerPostRoot(req, res, ctx);
@@
-123,14
+115,6
@@
describe('Service', function () {
})
}); // handlerGetAdminTopicDetails
})
}); // handlerGetAdminTopicDetails
- describe('handlerGetStaticFile', function () {
- it('covers', async function () {
- service.serveFile.resolves();
- await service.handlerGetStaticFile(req, res, ctx);
- assert(service.serveFile.called);
- });
- }); // handlerGetStaticFile
-
describe('handlerPostAdminProcess', function () {
it('covers', async function () {
service.serveFile.resolves();
describe('handlerPostAdminProcess', function () {
it('covers', async function () {
service.serveFile.resolves();