From d57d1c71e2ad0aca9a83bf26d84b3d8744255da6 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 29 Mar 2023 18:28:21 -0300 Subject: content: linkExternal, linkExternalFlash --- test/snapshot/linkExternalFlash.js | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 test/snapshot/linkExternalFlash.js (limited to 'test/snapshot') diff --git a/test/snapshot/linkExternalFlash.js b/test/snapshot/linkExternalFlash.js new file mode 100644 index 00000000..3f63760f --- /dev/null +++ b/test/snapshot/linkExternalFlash.js @@ -0,0 +1,31 @@ +import t from 'tap'; +import {testContentFunctions} from '../lib/content-function.js'; + +testContentFunctions(t, 'linkExternalFlash (snapshot)', async (t, evaluate) => { + await evaluate.load(); + + evaluate.snapshot({ + name: 'linkExternalFlash', + args: ['https://homestuck.com/story/4109/', {page: '4109'}], + }); + + evaluate.snapshot({ + name: 'linkExternalFlash', + args: ['https://homestuck.com/story/pony/', {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'}], + }) +}); -- cgit 1.3.0-6-gf8a5