Adding quillStyles, couple bugs, new unit test

This commit is contained in:
metacryst
2024-03-30 14:55:21 -05:00
parent 66f56727a5
commit 997a151b44
2 changed files with 95 additions and 26 deletions

View File

@@ -262,4 +262,19 @@ window.testSuites.push( class testInit {
}
}
}
UnneededArgumentThrowsError() {
register(class SidebarFile extends Shadow {
}, randomName("sb-file"))
try {
SidebarFile({path: "/asd"})
return "Did not throw error!"
} catch(e) {
if(!e.message.includes("passed in where")) {
throw e
}
}
}
})