summaryrefslogtreecommitdiffstats
path: root/tests.html
diff options
context:
space:
mode:
authorBrian Cully <bjc@spork.org>2025-07-28 10:06:33 -0400
committerBrian Cully <bjc@spork.org>2025-07-28 10:06:33 -0400
commit400ddcde87ab1fae3249710b4a269a2cad86a128 (patch)
tree8aba6d97d6eba4fe5b68ac7e191fb83d40d54284 /tests.html
parent531f0b580fbf2b1f19fcc1ad0b29acfbe7606b36 (diff)
downloadchords-400ddcde87ab1fae3249710b4a269a2cad86a128.tar.gz
chords-400ddcde87ab1fae3249710b4a269a2cad86a128.zip
start adding test infrastructure
lets make the link public, too, just for fun.
Diffstat (limited to 'tests.html')
-rw-r--r--tests.html29
1 files changed, 11 insertions, 18 deletions
diff --git a/tests.html b/tests.html
index 5aa6aed..4b81d32 100644
--- a/tests.html
+++ b/tests.html
@@ -7,24 +7,17 @@
<title>tests</title>
</head>
<body>
- <x-string tonic='E' frets='3' value='x'>
- <template>
- <slot name='muted'></slot>
- <slot name='fretlist'></slot>
- <slot name='selected'></slot>
- </template>
-
- <span slot='selected'>E</span>
-
- <form slot='fretlist'>
- <ol class='fretlist'>
- <li class='tonic'>E</li>
- </ol>
- </form>
-
- <input slot='muted' name='muted' type='checkbox'>
- </x-string>
-
+ <x-test-harness>
+ <a href='tests.html'>run</a>
+ <dl>
+ <dt class='passed'>passed</dt>
+ <dd class='passed-count'>0</dd>
+ <dt class='failed'>failed</dt>
+ <dd class='failed-count'>0</dd>
+ <dt class='skipped'>skipped</dt>
+ <dd class='skipped-count'>0</dd>
+ </dl>
+ </x-test-harness>
<script type='module' src='tests.mjs'></script>
</body>
</html>