projects
/
websub-hub
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
display history of topic updates on topic details page
[websub-hub]
/
test
/
src
/
service.js
diff --git
a/test/src/service.js
b/test/src/service.js
index cafe1d16922ff9e4e0f48b19921a572e39d7ea2f..bc74ff5c6dac6faff30fa8e14928c21e7d3e5285 100644
(file)
--- a/
test/src/service.js
+++ b/
test/src/service.js
@@
-108,12
+108,19
@@
describe('Service', function () {
}); // handlerGetHealthcheck
describe('handlerGetInfo', function () {
}); // handlerGetHealthcheck
describe('handlerGetInfo', function () {
- it('covers', async function() {
+ it('covers', async function
() {
await service.handlerGetInfo(req, res, ctx);
assert(service.manager.getInfo.called);
});
}); // handlerGetInfo
await service.handlerGetInfo(req, res, ctx);
assert(service.manager.getInfo.called);
});
}); // handlerGetInfo
+ describe('handlerGetHistorySVG', function () {
+ it('covers', async function () {
+ await service.handlerGetHistorySVG(req, res, ctx);
+ assert(service.manager.getHistorySVG.called);
+ });
+ }); // handlerGetHistorySVG
+
describe('handlerGetAdminOverview', function () {
it('covers', async function () {
await service.handlerGetAdminOverview(req, res, ctx);
describe('handlerGetAdminOverview', function () {
it('covers', async function () {
await service.handlerGetAdminOverview(req, res, ctx);