Add integration test-helpers and refactor integration tests

This commit is contained in:
2025-06-16 22:41:31 -07:00
parent c46c361217
commit 6960fcc79b
6 changed files with 161 additions and 112 deletions

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" standalone="yes"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 200 300">
<g class="gameboard">
<g class="grid">
<g data-y="0">
<g data-x="0"><use href="#hex"/></g>
<g data-x="1"><use href="#hex"/></g>
<g data-x="2"><use href="#hex"/></g>
</g>
<g data-y="1">
<g data-x="0"><use href="#hex"/></g>
<g data-x="1"><use href="#hex"/></g>
<g data-x="2"><use href="#hex"/></g>
</g>
<g data-y="2">
<g data-x="0"><use href="#hex"/></g>
<g data-x="1"><use href="#hex"/></g>
<g data-x="2"><use href="#hex"/></g>
</g>
</g>
</g>
<script/>
</svg>

After

Width:  |  Height:  |  Size: 688 B