diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-03-27 09:59:43 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-03-27 09:59:43 -0300 |
commit | cb13d591c6965dc52d89ec4d1e10558e6b22456b (patch) | |
tree | c2e13e0ae7ffc83327a176f40ea4101c9a5fb200 /tap-snapshots/test/snapshot | |
parent | 789a26aacfd1e9f97a9395f0000b42df35a75bd7 (diff) |
reorganize test directory layout
Avoids unsavory "no tests found in _support.js" message and makes structure match src directory layout more closely
Diffstat (limited to 'tap-snapshots/test/snapshot')
-rw-r--r-- | tap-snapshots/test/snapshot/linkArtist.js.test.cjs | 14 | ||||
-rw-r--r-- | tap-snapshots/test/snapshot/linkTemplate.js.test.cjs | 14 |
2 files changed, 28 insertions, 0 deletions
diff --git a/tap-snapshots/test/snapshot/linkArtist.js.test.cjs b/tap-snapshots/test/snapshot/linkArtist.js.test.cjs new file mode 100644 index 00000000..647742e0 --- /dev/null +++ b/tap-snapshots/test/snapshot/linkArtist.js.test.cjs @@ -0,0 +1,14 @@ +/* IMPORTANT + * This snapshot file is auto-generated, but designed for humans. + * It should be checked into source control and tracked carefully. + * Re-generate by setting TAP_SNAPSHOT=1 and running tests. + * Make sure to inspect the output below. Do not ignore changes! + */ +'use strict' +exports[`test/snapshot/linkArtist.js TAP linkArtist > output 1`] = ` +<a href="artist/toby-fox/">Toby Fox</a> +` + +exports[`test/snapshot/linkArtist.js TAP linkArtist > output 2`] = ` +<a href="artist/55gore/">55gore</a> +` diff --git a/tap-snapshots/test/snapshot/linkTemplate.js.test.cjs b/tap-snapshots/test/snapshot/linkTemplate.js.test.cjs new file mode 100644 index 00000000..4ca3e00f --- /dev/null +++ b/tap-snapshots/test/snapshot/linkTemplate.js.test.cjs @@ -0,0 +1,14 @@ +/* IMPORTANT + * This snapshot file is auto-generated, but designed for humans. + * It should be checked into source control and tracked carefully. + * Re-generate by setting TAP_SNAPSHOT=1 and running tests. + * Make sure to inspect the output below. Do not ignore changes! + */ +'use strict' +exports[`test/snapshot/linkTemplate.js TAP linkTemplate > output 1`] = ` +<a class="dog" id="cat1" href="https://hsmusic.wiki/media/cool%20file.pdf#fooey" style="--primary-color: #123456ff; --dim-color: #12345677">My Cool Link</a> +` + +exports[`test/snapshot/linkTemplate.js TAP linkTemplate > output 2`] = ` +<a href="/c*lzone/myCoolPath/ham/pineapple/tomato/index.html"></a> +` |