diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-03-25 15:00:01 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-03-25 15:05:30 -0300 |
commit | d1e586bd401a6d83ecabafb3b833a5ae65b6e05f (patch) | |
tree | 81a97f0f678f9618ed0a66d1e5ef9d35dbf79a2a /test/snapshots/linkArtist.js | |
parent | fc5d4d057b1e18e3e5c91bce1ddb545bc9d91db9 (diff) |
data steps: more "quick" functions & basic snapshot test demo
Diffstat (limited to 'test/snapshots/linkArtist.js')
-rw-r--r-- | test/snapshots/linkArtist.js | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/snapshots/linkArtist.js b/test/snapshots/linkArtist.js new file mode 100644 index 00000000..43fee88e --- /dev/null +++ b/test/snapshots/linkArtist.js @@ -0,0 +1,26 @@ +import t from 'tap'; + +import {testContentFunctions} from './_support.js'; + +testContentFunctions(t, 'linkArtist', (t, evaluate) => { + evaluate.snapshot({ + name: 'linkArtist', + args: [ + { + name: `Toby Fox`, + directory: `toby-fox`, + } + ], + }); + + evaluate.snapshot({ + name: 'linkArtist', + args: [ + { + name: 'ICCTTCMDMIROTMCWMWFTPFTDDOTARHPOESWGBTWEATFCWSEBTSSFOFG', + nameShort: '55gore', + directory: '55gore', + }, + ], + }, v => v.slot('preferShortName', true)); +}); |