diff options
Diffstat (limited to 'test/snapshot/linkExternalFlash.js')
-rw-r--r-- | test/snapshot/linkExternalFlash.js | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/test/snapshot/linkExternalFlash.js b/test/snapshot/linkExternalFlash.js index 3f63760f..7bb86c6a 100644 --- a/test/snapshot/linkExternalFlash.js +++ b/test/snapshot/linkExternalFlash.js @@ -4,28 +4,21 @@ import {testContentFunctions} from '../lib/content-function.js'; testContentFunctions(t, 'linkExternalFlash (snapshot)', async (t, evaluate) => { await evaluate.load(); - evaluate.snapshot({ + evaluate.snapshot('basic behavior', { name: 'linkExternalFlash', - args: ['https://homestuck.com/story/4109/', {page: '4109'}], + multiple: [ + {args: ['https://homestuck.com/story/4109/', {page: '4109'}]}, + {args: ['https://youtu.be/FDt-SLyEcjI', {page: '4109'}]}, + {args: ['https://www.bgreco.net/hsflash/006009.html', {page: '4109'}]}, + {args: ['https://www.newgrounds.com/portal/view/582345', {page: '4109'}]}, + ], }); - evaluate.snapshot({ + evaluate.snapshot('secret page', { name: 'linkExternalFlash', - args: ['https://homestuck.com/story/pony/', {page: 'pony'}], + multiple: [ + {args: ['https://homestuck.com/story/pony/', {page: 'pony'}]}, + {args: ['https://youtu.be/USB1pj6hAjU', {page: 'pony'}]}, + ], }); - - evaluate.snapshot({ - name: 'linkExternalFlash', - args: ['https://youtu.be/FDt-SLyEcjI', {page: '4109'}], - }); - - evaluate.snapshot({ - name: 'linkExternalFlash', - args: ['https://www.bgreco.net/hsflash/006009.html', {page: '4109'}], - }); - - evaluate.snapshot({ - name: 'linkExternalFlash', - args: ['https://www.newgrounds.com/portal/view/582345', {page: '4109'}], - }) }); |