1
0
mirror of https://github.com/dwaxweiler/connector-mobilizon synced 2025-06-05 21:59:25 +02:00

add tests for session-cache, fix a test

This commit is contained in:
Daniel Waxweiler
2021-04-05 18:23:37 +02:00
parent 12e6adacbf
commit c9b04cb2f8
5 changed files with 45 additions and 11 deletions

View File

@ -7,7 +7,7 @@ test.beforeEach(() => {
global.document = new JSDOM().window.document
})
test('createAnchorElement() usual parameters', t => {
test('#createAnchorElement usual parameters', t => {
const a = HtmlCreator.createAnchorElement({ text: 'a', url: 'b' })
t.is(a.tagName, 'A')
t.is(a.innerHTML, 'a')