From c3c8a2362488f3aaeda8913e70aacb92a2979573 Mon Sep 17 00:00:00 2001 From: James Addison Date: Sun, 11 Aug 2024 13:52:33 +0100 Subject: [PATCH] Tests: refactor: use .spec.js suffix for test modules --- tests/js/jasmine-browser.mjs | 3 +-- tests/js/{searchtools.js => searchtools.spec.js} | 0 tests/js/{sphinx_highlight.js => sphinx_highlight.spec.js} | 0 3 files changed, 1 insertion(+), 2 deletions(-) rename tests/js/{searchtools.js => searchtools.spec.js} (100%) rename tests/js/{sphinx_highlight.js => sphinx_highlight.spec.js} (100%) diff --git a/tests/js/jasmine-browser.mjs b/tests/js/jasmine-browser.mjs index fd45a1e3b59..7cc8610dd76 100644 --- a/tests/js/jasmine-browser.mjs +++ b/tests/js/jasmine-browser.mjs @@ -10,8 +10,7 @@ export default { ], specDir: "tests/js", specFiles: [ - 'searchtools.js', - 'sphinx_highlight.js' + '**/*.spec.js', ], helpers: [], env: { diff --git a/tests/js/searchtools.js b/tests/js/searchtools.spec.js similarity index 100% rename from tests/js/searchtools.js rename to tests/js/searchtools.spec.js diff --git a/tests/js/sphinx_highlight.js b/tests/js/sphinx_highlight.spec.js similarity index 100% rename from tests/js/sphinx_highlight.js rename to tests/js/sphinx_highlight.spec.js