projects
/
websub-hub
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bump package version to 1.3.12
[websub-hub]
/
test
/
src
/
template
/
admin-overview-html.js
diff --git
a/test/src/template/admin-overview-html.js
b/test/src/template/admin-overview-html.js
index acb57d0ebb6dd35186a77870a3413b7ccdf3a93b..1f997827cddc59e604a86ff4bcf4e118751af55d 100644
(file)
--- a/
test/src/template/admin-overview-html.js
+++ b/
test/src/template/admin-overview-html.js
@@
-14,21
+14,21
@@
describe('Admin Overview HTML Template', function () {
config = new Config('test');
});
config = new Config('test');
});
- it('covers missing topics', function () {
+ it('covers missing topics',
async
function () {
const result = template(ctx, config);
const result = template(ctx, config);
- lintHtml(result);
+
await
lintHtml(result);
assert(result);
});
assert(result);
});
- it('covers single topic', function () {
+ it('covers single topic',
async
function () {
ctx.topics = [{}];
const result = template(ctx, config);
ctx.topics = [{}];
const result = template(ctx, config);
- lintHtml(result);
+
await
lintHtml(result);
assert(result);
});
assert(result);
});
- it('covers plural topics', function () {
+ it('covers plural topics',
async
function () {
ctx.topics = [{}, {}, {}];
const result = template(ctx, config);
ctx.topics = [{}, {}, {}];
const result = template(ctx, config);
- lintHtml(result);
+
await
lintHtml(result);
assert(result);
});
});
assert(result);
});
});