Improve Hub card expansion, Tachyon badges and donation page
This commit is contained in:
1 parent
9c8def5e5c
commit
ce763dd1be
9 files changed
+483
-24
No files matched your search
@@ -18,7 +18,8 @@ assert(html.includes('Online'));
|
||||
assert(html.includes('href="/tachyon/a/"'));
|
||||
assert(html.includes('tachyonMeta'));
|
||||
assert(html.includes('tachyonAction'));
|
||||
assert(context.renderTachyon({permissions:{admin:true}, tachyon:{installed:true, online:true, url:'/tachyon/a/'}}).includes('Tachyon</strong>'));
|
||||
const withoutVersion = context.renderTachyon({permissions:{admin:true}, tachyon:{installed:true, online:true, url:'/tachyon/a/'}});
|
||||
assert.match(withoutVersion.replace(/<[^>]*>/g, ''), /Tachyon\s*Online/);
|
||||
router.tachyon.online = false;
|
||||
assert(context.renderTachyon(router).includes('Offline'));
|
||||
router.permissions.admin = false;
|
||||
|
||||
Reference in new issue
Block a user