summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-11-12 02:16:11 +0000
committerGitHub <noreply@github.com>2023-11-12 02:16:11 +0000
commitd06029ea8c4244f40f9ddfeec5154f9ef2a4c053 (patch)
tree93f3e15603ec38faef01070475904c08d2e9280b /test
parentf263e994c6eca2438eaff79cb22f1b48fe14b7b2 (diff)
parent784dcd93b02443bc253e3af43ad0586a1add39c5 (diff)
Merge pull request #314 from starxeras/replace-yomichan
Replace all instances of yomichan
Diffstat (limited to 'test')
-rw-r--r--test/anki-note-builder.test.js2
-rw-r--r--test/data/html/test-document1.html4
-rw-r--r--test/data/html/test-document2-frame1.html2
-rw-r--r--test/data/html/test-document2.html4
-rw-r--r--test/data/html/test-document3-frame1.html2
-rw-r--r--test/data/html/test-document3-frame2.html2
-rw-r--r--test/data/html/test-document3.html6
-rw-r--r--test/data/html/test-dom-text-scanner.html4
-rw-r--r--test/options-util.test.js4
9 files changed, 15 insertions, 15 deletions
diff --git a/test/anki-note-builder.test.js b/test/anki-note-builder.test.js
index 90bb3cbe..e21aa993 100644
--- a/test/anki-note-builder.test.js
+++ b/test/anki-note-builder.test.js
@@ -159,7 +159,7 @@ async function getRenderResults(dictionaryEntries, type, mode, template, expect)
deckName: 'deckName',
modelName: 'modelName',
fields,
- tags: ['yomichan'],
+ tags: ['yomitan'],
checkForDuplicates: true,
duplicateScope: 'collection',
duplicateScopeCheckAllModels: false,
diff --git a/test/data/html/test-document1.html b/test/data/html/test-document1.html
index 04e930da..ef47228f 100644
--- a/test/data/html/test-document1.html
+++ b/test/data/html/test-document1.html
@@ -3,13 +3,13 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
- <title>Yomichan Tests</title>
+ <title>Yomitan Tests</title>
<link rel="icon" type="image/gif" href="data:image/gif;base64,R0lGODlhEAAQAKEBAAAAAP///////////yH5BAEKAAIALAAAAAAQABAAAAImFI6Zpt0B4YkS0TCpq07xbmEgcGVRUpLaI46ZG7ppalY0jDCwUAAAOw==">
<link rel="stylesheet" href="test-stylesheet.css">
</head>
<body>
- <h1>Yomichan Tests</h1>
+ <h1>Yomitan Tests</h1>
<div
class="test"
diff --git a/test/data/html/test-document2-frame1.html b/test/data/html/test-document2-frame1.html
index 930cc78c..52243e1e 100644
--- a/test/data/html/test-document2-frame1.html
+++ b/test/data/html/test-document2-frame1.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
- <title>Yomichan Tests</title>
+ <title>Yomitan Tests</title>
<script src="test-document2-script.js"></script>
<style>
body {
diff --git a/test/data/html/test-document2.html b/test/data/html/test-document2.html
index 399c3bd8..c822c1d0 100644
--- a/test/data/html/test-document2.html
+++ b/test/data/html/test-document2.html
@@ -4,7 +4,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
- <title>Yomichan Manual Tests</title>
+ <title>Yomitan Manual Tests</title>
<link rel="icon" type="image/gif"
href="data:image/gif;base64,R0lGODlhEAAQAKEBAAAAAP///////////yH5BAEKAAIALAAAAAAQABAAAAImFI6Zpt0B4YkS0TCpq07xbmEgcGVRUpLaI46ZG7ppalY0jDCwUAAAOw==">
<link rel="stylesheet" href="test-stylesheet.css">
@@ -37,7 +37,7 @@
<body>
- <h1>Yomichan Manual Tests</h1>
+ <h1>Yomitan Manual Tests</h1>
<y-description>Manual tests involving fullscreen elements, &lt;iframe&gt;s, and shadow DOMs.</y-description>
<y-test>
diff --git a/test/data/html/test-document3-frame1.html b/test/data/html/test-document3-frame1.html
index 6536e6d2..83f82c6e 100644
--- a/test/data/html/test-document3-frame1.html
+++ b/test/data/html/test-document3-frame1.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
- <title>Yomichan Manual Performance Tests</title>
+ <title>Yomitan Manual Performance Tests</title>
<link rel="stylesheet" href="test-stylesheet.css">
</head>
<body><div class="content">
diff --git a/test/data/html/test-document3-frame2.html b/test/data/html/test-document3-frame2.html
index b88162b5..d947715d 100644
--- a/test/data/html/test-document3-frame2.html
+++ b/test/data/html/test-document3-frame2.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
- <title>Yomichan Manual Performance Tests</title>
+ <title>Yomitan Manual Performance Tests</title>
<link rel="stylesheet" href="test-stylesheet.css">
</head>
<body><div class="content">
diff --git a/test/data/html/test-document3.html b/test/data/html/test-document3.html
index 6a227daa..218e211a 100644
--- a/test/data/html/test-document3.html
+++ b/test/data/html/test-document3.html
@@ -3,14 +3,14 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
- <title>Yomichan Manual Performance Tests</title>
+ <title>Yomitan Manual Performance Tests</title>
<link rel="icon" type="image/gif" href="data:image/gif;base64,R0lGODlhEAAQAKEBAAAAAP///////////yH5BAEKAAIALAAAAAAQABAAAAImFI6Zpt0B4YkS0TCpq07xbmEgcGVRUpLaI46ZG7ppalY0jDCwUAAAOw==">
<link rel="stylesheet" href="test-stylesheet.css">
</head>
<body>
- <h1>Yomichan Manual Performance Tests</h1>
- <p class="description">Testing Yomichan performance with artificially demanding cases in a real browser</p>
+ <h1>Yomitan Manual Performance Tests</h1>
+ <p class="description">Testing Yomitan performance with artificially demanding cases in a real browser</p>
<div class="test">
<div class="description">&lt;iframe&gt; element.</div>
diff --git a/test/data/html/test-dom-text-scanner.html b/test/data/html/test-dom-text-scanner.html
index c7ae2a37..f22e0895 100644
--- a/test/data/html/test-dom-text-scanner.html
+++ b/test/data/html/test-dom-text-scanner.html
@@ -3,13 +3,13 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
- <title>Yomichan DOMTextScanner Tests</title>
+ <title>Yomitan DOMTextScanner Tests</title>
<link rel="icon" type="image/gif" href="data:image/gif;base64,R0lGODlhEAAQAKEBAAAAAP///////////yH5BAEKAAIALAAAAAAQABAAAAImFI6Zpt0B4YkS0TCpq07xbmEgcGVRUpLaI46ZG7ppalY0jDCwUAAAOw==">
<link rel="stylesheet" href="test-stylesheet.css">
</head>
<body>
- <h1>Yomichan DOMTextScanner Tests</h1>
+ <h1>Yomitan DOMTextScanner Tests</h1>
<y-test
data-test-data='{
diff --git a/test/options-util.test.js b/test/options-util.test.js
index 9f49eb28..ff5b6713 100644
--- a/test/options-util.test.js
+++ b/test/options-util.test.js
@@ -133,7 +133,7 @@ function createProfileOptionsTestData1() {
anki: {
enable: false,
server: 'http://127.0.0.1:8765',
- tags: ['yomichan'],
+ tags: ['yomitan'],
sentenceExt: 200,
screenshot: {format: 'png', quality: 92},
terms: {deck: '', model: '', fields: {}},
@@ -441,7 +441,7 @@ function createProfileOptionsUpdatedTestData1() {
anki: {
enable: false,
server: 'http://127.0.0.1:8765',
- tags: ['yomichan'],
+ tags: ['yomitan'],
screenshot: {format: 'png', quality: 92},
terms: {deck: '', model: '', fields: {}},
kanji: {deck: '', model: '', fields: {}},