« 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/content
AgeCommit message (Collapse)Author
2023-08-19clean up imports & miscellaneous metastructures across codebase(quasar) nebula
2023-06-24content: linkContribution: take standard {who, what} object(quasar) nebula
This is what's used for all contributions anyway, so no need to have every call to linkContribution manually destructure whatever contribution is being provided.
2023-06-24test: generateAlbumTrackList (snapshot, unit)(quasar) nebula
2023-06-13test: generateContributionLinks -> linkContribution(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-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).