Skip to content

Node.js based forum software built for the modern web

Rename tests folder to test to follow standards

HeeL4c6a75d85cc1
diff --git a/package.json b/package.json
index c415f0f03d..98bee1c2a6 100644
--- a/package.json
+++ b/package.json
@@ -13,7 +13,7 @@
"start": "node loader.js",
"lint": "eslint --cache .",
"pretest": "npm run lint",
- "test": "istanbul cover _mocha tests"
+ "test": "istanbul cover _mocha test"
},
"dependencies": {
"async": "~1.5.0",
diff --git a/tests/.jshintrc b/test/.jshintrc
similarity index 100%
rename from tests/.jshintrc
rename to test/.jshintrc
diff --git a/tests/categories.js b/test/categories.js
similarity index 100%
rename from tests/categories.js
rename to test/categories.js
diff --git a/tests/database.js b/test/database.js
similarity index 100%
rename from tests/database.js
rename to test/database.js
diff --git a/tests/database/hash.js b/test/database/hash.js
similarity index 100%
rename from tests/database/hash.js
rename to test/database/hash.js
diff --git a/tests/database/keys.js b/test/database/keys.js
similarity index 100%
rename from tests/database/keys.js
rename to test/database/keys.js
diff --git a/tests/database/list.js b/test/database/list.js
similarity index 100%
rename from tests/database/list.js
rename to test/database/list.js
diff --git a/tests/database/sets.js b/test/database/sets.js
similarity index 100%
rename from tests/database/sets.js
rename to test/database/sets.js
diff --git a/tests/database/sorted.js b/test/database/sorted.js
similarity index 100%
rename from tests/database/sorted.js
rename to test/database/sorted.js
diff --git a/tests/groups.js b/test/groups.js
similarity index 100%
rename from tests/groups.js
rename to test/groups.js
diff --git a/tests/messaging.js b/test/messaging.js
similarity index 100%
rename from tests/messaging.js
rename to test/messaging.js
diff --git a/tests/.mocha.opts b/test/mocha.opts
similarity index 100%
rename from tests/.mocha.opts
rename to test/mocha.opts
diff --git a/tests/mocks/databasemock.js b/test/mocks/databasemock.js
similarity index 100%
rename from tests/mocks/databasemock.js
rename to test/mocks/databasemock.js
diff --git a/tests/topics.js b/test/topics.js
similarity index 100%
rename from tests/topics.js
rename to test/topics.js
diff --git a/tests/translator-new.js b/test/translator-new.js
similarity index 100%
rename from tests/translator-new.js
rename to test/translator-new.js
diff --git a/tests/translator.js b/test/translator.js
similarity index 100%
rename from tests/translator.js
rename to test/translator.js
diff --git a/tests/user.js b/test/user.js
similarity index 100%
rename from tests/user.js
rename to test/user.js
diff --git a/tests/utils.js b/test/utils.js
similarity index 100%
rename from tests/utils.js
rename to test/utils.js