diff options
Diffstat (limited to 'test/snapshot')
-rw-r--r-- | test/snapshot/generateBanner.js (renamed from test/snapshot/generatePageBanner.js) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/snapshot/generatePageBanner.js b/test/snapshot/generateBanner.js index 9ede9fce..587ce04a 100644 --- a/test/snapshot/generatePageBanner.js +++ b/test/snapshot/generateBanner.js @@ -1,11 +1,11 @@ import t from 'tap'; import {testContentFunctions} from '../lib/content-function.js'; -testContentFunctions(t, 'generatePageBanner (snapshot)', async (t, evaluate) => { +testContentFunctions(t, 'generateBanner (snapshot)', async (t, evaluate) => { await evaluate.load(); evaluate.snapshot('basic behavior', { - name: 'generatePageBanner', + name: 'generateBanner', slots: { path: ['media.albumBanner', 'cool-album', 'png'], alt: 'Very cool banner art.', @@ -14,7 +14,7 @@ testContentFunctions(t, 'generatePageBanner (snapshot)', async (t, evaluate) => }); evaluate.snapshot('no dimensions', { - name: 'generatePageBanner', + name: 'generateBanner', slots: { path: ['media.albumBanner', 'cool-album', 'png'], }, |