« get me outta code hell

linkExternalFlash.js « snapshot « test - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test/snapshot/linkExternalFlash.js
blob: 3f63760fbf562b9119daa123d37bbc7b4f23f763 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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'}],
  })
});