☕️ Classic, reliable, trusted test framework for Node.js and the browser
move the "only" specs out of test/misc/only/ and into test/only/
Christopher Hiller49e01d53ad06
diff --git a/Makefile b/Makefileindex 37e887f9..1724d30e 100644--- a/Makefile+++ b/Makefile@@ -122,24 +122,24 @@ test-reporters:test-only:@printf "==> [Test :: Only]\n"$(call test_node,only-tdd) --ui tdd \- test/misc/only/tdd.spec+ test/only/tdd.spec$(call test_node,only-bdd) --ui bdd \- test/misc/only/bdd.spec+ test/only/bdd.spec$(call test_node,only-bdd-require) --ui qunit \- test/misc/only/bdd-require.spec+ test/only/bdd-require.spectest-global-only:@printf "==> [Test :: Global Only]\n"$(call test_node,global-only-tdd) --ui tdd \- test/misc/only/global/tdd.spec+ test/only/global/tdd.spec$(call test_node,global-only-bdd) --ui bdd \- test/misc/only/global/bdd.spec+ test/only/global/bdd.spec$(call test_node,global-only-qunit) --ui qunit \- test/misc/only/global/qunit.spec+ test/only/global/qunit.spectest-mocha:@printf "==> [Test :: Mocha]\n"diff --git a/test/misc/only/bdd-require.spec.js b/test/only/bdd-require.spec.jssimilarity index 86%rename from test/misc/only/bdd-require.spec.jsrename to test/only/bdd-require.spec.jsindex 1c90d7ac..9b85052c 100644--- a/test/misc/only/bdd-require.spec.js+++ b/test/only/bdd-require.spec.js@@ -1,8 +1,6 @@'use strict';-/* jshint node: true */--var mocha = require('../../../lib/mocha');+var mocha = require('../../lib/mocha');var beforeEach = mocha.beforeEach;var it = mocha.it;diff --git a/test/misc/only/bdd.spec.js b/test/only/bdd.spec.jssimilarity index 100%rename from test/misc/only/bdd.spec.jsrename to test/only/bdd.spec.jsdiff --git a/test/misc/only/global/bdd.spec.js b/test/only/global/bdd.spec.jssimilarity index 100%rename from test/misc/only/global/bdd.spec.jsrename to test/only/global/bdd.spec.jsdiff --git a/test/misc/only/global/qunit.spec.js b/test/only/global/qunit.spec.jssimilarity index 100%rename from test/misc/only/global/qunit.spec.jsrename to test/only/global/qunit.spec.jsdiff --git a/test/misc/only/global/tdd.spec.js b/test/only/global/tdd.spec.jssimilarity index 100%rename from test/misc/only/global/tdd.spec.jsrename to test/only/global/tdd.spec.jsdiff --git a/test/misc/only/qunit.spec.js b/test/only/qunit.spec.jssimilarity index 100%rename from test/misc/only/qunit.spec.jsrename to test/only/qunit.spec.jsdiff --git a/test/misc/only/tdd.spec.js b/test/only/tdd.spec.jssimilarity index 100%rename from test/misc/only/tdd.spec.jsrename to test/only/tdd.spec.js