From 6e0ce8946b8d70ec815656c5d11201874db45ffd Mon Sep 17 00:00:00 2001 From: alexesprit Date: Thu, 21 May 2020 20:29:11 +0300 Subject: [PATCH] Allow ava to run tests from `tests` dir only --- ava.config.js | 5 +++++ tests/{items.js => items.test.js} | 0 tests/{themes.js => themes.test.js} | 0 3 files changed, 5 insertions(+) create mode 100644 ava.config.js rename tests/{items.js => items.test.js} (100%) rename tests/{themes.js => themes.test.js} (100%) diff --git a/ava.config.js b/ava.config.js new file mode 100644 index 0000000..0e15abe --- /dev/null +++ b/ava.config.js @@ -0,0 +1,5 @@ +export default { + 'files': [ + './tests/*.test.js' + ], +}; diff --git a/tests/items.js b/tests/items.test.js similarity index 100% rename from tests/items.js rename to tests/items.test.js diff --git a/tests/themes.js b/tests/themes.test.js similarity index 100% rename from tests/themes.js rename to tests/themes.test.js