diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-02-14 13:07:09 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-02-14 13:44:36 -0400 |
commit | d31c889df346b7579ce1afe0746fb4aa0ed8227d (patch) | |
tree | 8c98fb6c8d4c7d89e25968c99c0295aeac3880b5 /test | |
parent | 08114ae53a4053b45577860f0a127ee2e6b3e3a6 (diff) |
content, external-links, test: provide album track count as context
Diffstat (limited to 'test')
-rw-r--r-- | test/snapshot/linkExternal.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/snapshot/linkExternal.js b/test/snapshot/linkExternal.js index 92cb8947..f4138630 100644 --- a/test/snapshot/linkExternal.js +++ b/test/snapshot/linkExternal.js @@ -57,6 +57,24 @@ testContentFunctions(t, 'linkExternal (snapshot)', async (t, evaluate) => { 'https://youtube.com/Playlist?list=kweh', ]); + quickSnapshotAllStyles('albumNoTracks', [ + 'https://youtu.be/abc', + 'https://youtube.com/watch?v=abc', + 'https://youtube.com/Playlist?list=kweh', + ]); + + quickSnapshotAllStyles('albumOneTrack', [ + 'https://youtu.be/abc', + 'https://youtube.com/watch?v=abc', + 'https://youtube.com/Playlist?list=kweh', + ]); + + quickSnapshotAllStyles('albumMultipleTracks', [ + 'https://youtu.be/abc', + 'https://youtube.com/watch?v=abc', + 'https://youtube.com/Playlist?list=kweh', + ]); + quickSnapshotAllStyles('flash', [ 'https://www.bgreco.net/hsflash/002238.html', 'https://homestuck.com/story/1234', |