« 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-09-09data, test: filter out empty track sections(quasar) nebula
Also test unmatched track references.
2023-09-09test: Album.{banner,wallpaper}{FileExtension,Style}(quasar) nebula
Also Album.bannerDimensions.
2023-09-08test: Track.commentatorArtists (unit)(quasar) nebula
2023-09-08test: Album.trackSections (unit)(quasar) nebula
2023-09-08test: Album.tracks (unit)(quasar) nebula
2023-09-08test: Album.coverArtFileExtension (unit)(quasar) nebula
Most of these currently fail.
2023-09-08test: Album.coverArtDate (unit)(quasar) nebula
The last test is deliberately failing.
2023-09-08test: Track.coverArtDate: test contribs lists resolving empty(quasar) nebula
2023-09-07data: roll paired "byRef" and "dynamic" properties into one(quasar) nebula
2023-09-05data, test: update & test misc. Track reverse reference lists(quasar) nebula
* update & test Track.referencedByTracks * update & test Track.sampledByTracks * update & test Track.featuredInFlashes * update Thing.common.reverseReferenceList * add Thing.composite.withReverseReferenceList * add Track.composite.trackReverseReferenceList
2023-09-05test: Track.coverArtFileExtension (unit)(quasar) nebula
2023-09-05data, test: update & test Track.originalReleaseTrack(quasar) nebula
2023-09-05data, test: Track.color inherits from track section(quasar) nebula
2023-09-05data, test: retain validator for Track.color(quasar) nebula
2023-09-05data, test: misc. additions(quasar) nebula
* Thing.composite.expose * Thing.composite.exposeUpdateValueOrContinue * Track.composite.withAlbumProperty * refactor: Track.color, Track.album, Track.date * refactor: Track.coverArtistContribs * test: Track.album (unit)
2023-09-05yaml, test: mutate/decache wikiData in more reusable ways(quasar) nebula
2023-09-05test: Track.otherReleases (unit)(quasar) nebula
2023-09-05test: Track.{color,date,hasUniqueCoverArt} (unit)(quasar) nebula
2023-09-05data, test: track: inherit album props more declaratively(quasar) nebula
2023-08-19clean up imports & miscellaneous metastructures across codebase(quasar) nebula
2023-07-16test: html: incorporate {strict,sparse}ArrayOf tests(quasar) nebula
2023-07-16test: html: remove outdated custom attribute test(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-06-12html: new Stationery class for instantiating Templates(quasar) nebula
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