diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-11-18 19:38:33 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-11-18 19:38:33 -0400 |
commit | 6fb9bbcb4d4806a4d31eb3d387dd229a598bc15d (patch) | |
tree | 048372d4658bf42d8b2e4e67c63e708727bbcfc0 /test/unit/data/composite/wiki-data | |
parent | e874f7e4d0df5fed25d4c359c8cb403e67061e59 (diff) |
test: withParsedCommentaryEntries: update + test multiple artists
Diffstat (limited to 'test/unit/data/composite/wiki-data')
-rw-r--r-- | test/unit/data/composite/wiki-data/withParsedCommentaryEntries.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/unit/data/composite/wiki-data/withParsedCommentaryEntries.js b/test/unit/data/composite/wiki-data/withParsedCommentaryEntries.js index 50570de6..928a9c98 100644 --- a/test/unit/data/composite/wiki-data/withParsedCommentaryEntries.js +++ b/test/unit/data/composite/wiki-data/withParsedCommentaryEntries.js @@ -49,7 +49,7 @@ t.test(`withParsedCommentaryEntries: basic behavior`, t => { `Very cool.\n`, }), [ { - artist: artist1, + artists: [artist1], artistDisplayText: null, annotation: null, date: null, @@ -67,32 +67,32 @@ t.test(`withParsedCommentaryEntries: basic behavior`, t => { `Second commentary entry. Yes. So cool.\n` + `<i>Mystery Artist:</i> (pingas, August 25, 2023)\n` + `Oh no.. Oh dear...\n` + - `<i>Mobius Trip:</i>\n` + + `<i>Mobius Trip, Hadron Kaleido:</i>\n` + `And back around we go.`, }), [ { - artist: artist1, + artists: [artist1], artistDisplayText: `Moo-bius Trip`, annotation: `music, art`, date: new Date('12 January 2015'), body: `First commentary entry.\nVery cool.`, }, { - artist: artist2, + artists: [artist2], artistDisplayText: `<b>[[artist:hadron-kaleido|The Ol' Hadron]]</b>`, annotation: `moral support`, date: new Date('4 April 2022'), body: `Second commentary entry. Yes. So cool.`, }, { - artist: null, + artists: [], artistDisplayText: null, annotation: `pingas`, date: new Date('25 August 2023'), body: `Oh no.. Oh dear...`, }, { - artist: artist1, + artists: [artist1, artist2], artistDisplayText: null, annotation: null, date: null, |