linkExternalFlash.js 804 B

12345678910111213141516171819202122232425
  1. import t from 'tap';
  2. import {testContentFunctions} from '#test-lib';
  3. testContentFunctions(t, 'linkExternalFlash (snapshot)', async (t, evaluate) => {
  4. await evaluate.load();
  5. evaluate.snapshot('basic behavior', {
  6. name: 'linkExternalFlash',
  7. multiple: [
  8. {args: ['https://homestuck.com/story/4109/', {page: '4109'}]},
  9. {args: ['https://youtu.be/FDt-SLyEcjI', {page: '4109'}]},
  10. {args: ['https://www.bgreco.net/hsflash/006009.html', {page: '4109'}]},
  11. {args: ['https://www.newgrounds.com/portal/view/582345', {page: '4109'}]},
  12. ],
  13. });
  14. evaluate.snapshot('secret page', {
  15. name: 'linkExternalFlash',
  16. multiple: [
  17. {args: ['https://homestuck.com/story/pony/', {page: 'pony'}]},
  18. {args: ['https://youtu.be/USB1pj6hAjU', {page: 'pony'}]},
  19. ],
  20. });
  21. });