From 49e01d53ad06b10a9670268e8d770887d5a09680 Mon Sep 17 00:00:00 2001 From: Christopher Hiller Date: Fri, 29 Sep 2017 22:26:21 -0700 Subject: [PATCH] move the "only" specs out of test/misc/only/ and into test/only/ --- Makefile | 12 ++++++------ test/{misc => }/only/bdd-require.spec.js | 4 +--- test/{misc => }/only/bdd.spec.js | 0 test/{misc => }/only/global/bdd.spec.js | 0 test/{misc => }/only/global/qunit.spec.js | 0 test/{misc => }/only/global/tdd.spec.js | 0 test/{misc => }/only/qunit.spec.js | 0 test/{misc => }/only/tdd.spec.js | 0 8 files changed, 7 insertions(+), 9 deletions(-) rename test/{misc => }/only/bdd-require.spec.js (86%) rename test/{misc => }/only/bdd.spec.js (100%) rename test/{misc => }/only/global/bdd.spec.js (100%) rename test/{misc => }/only/global/qunit.spec.js (100%) rename test/{misc => }/only/global/tdd.spec.js (100%) rename test/{misc => }/only/qunit.spec.js (100%) rename test/{misc => }/only/tdd.spec.js (100%) diff --git a/Makefile b/Makefile index 37e887f9a4..1724d30e8d 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.spec test-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.spec test-mocha: @printf "==> [Test :: Mocha]\n" diff --git a/test/misc/only/bdd-require.spec.js b/test/only/bdd-require.spec.js similarity index 86% rename from test/misc/only/bdd-require.spec.js rename to test/only/bdd-require.spec.js index 1c90d7acda..9b85052c23 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.js similarity index 100% rename from test/misc/only/bdd.spec.js rename to test/only/bdd.spec.js diff --git a/test/misc/only/global/bdd.spec.js b/test/only/global/bdd.spec.js similarity index 100% rename from test/misc/only/global/bdd.spec.js rename to test/only/global/bdd.spec.js diff --git a/test/misc/only/global/qunit.spec.js b/test/only/global/qunit.spec.js similarity index 100% rename from test/misc/only/global/qunit.spec.js rename to test/only/global/qunit.spec.js diff --git a/test/misc/only/global/tdd.spec.js b/test/only/global/tdd.spec.js similarity index 100% rename from test/misc/only/global/tdd.spec.js rename to test/only/global/tdd.spec.js diff --git a/test/misc/only/qunit.spec.js b/test/only/qunit.spec.js similarity index 100% rename from test/misc/only/qunit.spec.js rename to test/only/qunit.spec.js diff --git a/test/misc/only/tdd.spec.js b/test/only/tdd.spec.js similarity index 100% rename from test/misc/only/tdd.spec.js rename to test/only/tdd.spec.js