summaryrefslogtreecommitdiff
path: root/tests/test.html
blob: 7983b1743ee27472eecf5116c1544ae2e63d6a80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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>