diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-06-15 16:58:33 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-06-15 16:58:33 -0300 |
commit | e8be35c86308eaf66fb40da311d3e1ed54662a0a (patch) | |
tree | f83a13f17e8f541cbbf0ea71f96cf4ac05d4c687 /test/snapshot/generatePageBanner.js | |
parent | 6389af975c93f2c35ba21636cc697251fea580d6 (diff) |
content: generatePageBanner -> generateBanner
Diffstat (limited to 'test/snapshot/generatePageBanner.js')
-rw-r--r-- | test/snapshot/generatePageBanner.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/test/snapshot/generatePageBanner.js b/test/snapshot/generatePageBanner.js deleted file mode 100644 index 9ede9fce..00000000 --- a/test/snapshot/generatePageBanner.js +++ /dev/null @@ -1,22 +0,0 @@ -import t from 'tap'; -import {testContentFunctions} from '../lib/content-function.js'; - -testContentFunctions(t, 'generatePageBanner (snapshot)', async (t, evaluate) => { - await evaluate.load(); - - evaluate.snapshot('basic behavior', { - name: 'generatePageBanner', - slots: { - path: ['media.albumBanner', 'cool-album', 'png'], - alt: 'Very cool banner art.', - dimensions: [800, 200], - }, - }); - - evaluate.snapshot('no dimensions', { - name: 'generatePageBanner', - slots: { - path: ['media.albumBanner', 'cool-album', 'png'], - }, - }); -}); |