« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test/unit
AgeCommit message (Collapse)Author
2023-06-03test: html.template more isHTML conditions(quasar) nebula
2023-05-25Revert "contract: BlackBox stub & NormalizedArrayMap"(quasar) nebula
This reverts commit 86e8b47b5aeeae5f2fc3b87bb5930fb4c25f88ab.
2023-05-07contract: BlackBox stub & NormalizedArrayMap(quasar) nebula
Spooky scary skeletons Also includes a bonus very dumb performance test!
2023-04-15html, test: default slots only for null, not falsey values(quasar) nebula
2023-04-12content: stub track page, misc. other changes(quasar) nebula
* generateContributionLinks replaced with linkContribution, tests still need updating * album pages respect albums without cover art * track pages without unique art inherit art tags from album (fixes #13) not heavily tested, this commit probably breaks some pages which were loading correctly before
2023-04-09test: html.template slot value errors(quasar) nebula
2023-04-09test: html.template & Template descriptor errors(quasar) nebula
2023-04-08html: drastically simplify template/slot system(quasar) nebula
2023-04-05html: standard blank() function(quasar) nebula
For now this just returns an empty array, but if we need to make changes later, it won't require editing all instances of blank content!
2023-03-29content: generateIconForURL -> linkExternalAsIcon(quasar) nebula
2023-03-29content: iconifyURL (extra) -> generateIconForURL(quasar) nebula
2023-03-28test (unit): generateContributionLinks(quasar) nebula
2023-03-27data steps: basic custom mocking function support(quasar) nebula
I checked out a few libraries but none really behaved the way I needed, and coding it myself means much lower- level access, which makes certain options a lot easier (e.g. excluding one argument of a mocked function from assertion while matching the rest against a pattern).
2023-03-27reorganize test directory layout(quasar) nebula
Avoids unsavory "no tests found in _support.js" message and makes structure match src directory layout more closely