summaryrefslogtreecommitdiff
path: root/tests/test.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test.html')
-rw-r--r--tests/test.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/test.html b/tests/test.html
new file mode 100644
index 0000000..7983b17
--- /dev/null
+++ b/tests/test.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html lang="ja">
+<head>
+ <meta charset="utf-8">
+ <title>Ollama Translations - Tests</title>
+ <style>
+ body { font-family: system-ui, sans-serif; margin: 24px; background: #fafafa; }
+ h1 { font-size: 18px; }
+ h2 { font-size: 14px; margin: 18px 0 6px; }
+ .test { font-size: 13px; padding: 2px 0 2px 12px; }
+ .pass { color: #188038; }
+ .fail { color: #c5221f; }
+ #summary { font-size: 15px; font-weight: 600; }
+ .all-pass { color: #188038; }
+ .has-failures { color: #c5221f; }
+ section { background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 8px 16px; margin-bottom: 10px; }
+ </style>
+</head>
+<body>
+ <h1>Ollama Translations - Test Suite</h1>
+ <p id="summary">running…</p>
+ <div id="results"></div>
+
+ <!-- Shared modules as ES modules via dynamic import in tests -->
+ <script src="runner.js"></script>
+ <script src="mocks.js"></script>
+ <script type="module" src="all-tests.js"></script>
+</body>
+</html> \ No newline at end of file