summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/js/documentation_options.js1
-rw-r--r--tests/js/sphinx_highlight.js (renamed from tests/js/doctools.js)2
-rw-r--r--tests/test_build_html.py3
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/js/documentation_options.js b/tests/js/documentation_options.js
new file mode 100644
index 000000000..e736460a0
--- /dev/null
+++ b/tests/js/documentation_options.js
@@ -0,0 +1 @@
+const DOCUMENTATION_OPTIONS = {};
diff --git a/tests/js/doctools.js b/tests/js/sphinx_highlight.js
index 7268a6a8c..1f52eabb9 100644
--- a/tests/js/doctools.js
+++ b/tests/js/sphinx_highlight.js
@@ -1,5 +1,3 @@
-const DOCUMENTATION_OPTIONS = {};
-
describe('highlightText', function() {
const cyrillicTerm = 'шеллы';
diff --git a/tests/test_build_html.py b/tests/test_build_html.py
index c7d2daf47..0cdeb4708 100644
--- a/tests/test_build_html.py
+++ b/tests/test_build_html.py
@@ -1232,7 +1232,8 @@ def test_assets_order(app):
# js_files
expected = ['_static/early.js', '_static/jquery.js', '_static/underscore.js',
- '_static/doctools.js', 'https://example.com/script.js', '_static/normal.js',
+ '_static/doctools.js', '_static/sphinx_highlight.js',
+ 'https://example.com/script.js', '_static/normal.js',
'_static/late.js', '_static/js/custom.js', '_static/lazy.js']
pattern = '.*'.join('src="%s"' % f for f in expected)
assert re.search(pattern, content, re.S)