From b056ee478dd6f4c6297f06f5e12c30f344d4ca39 Mon Sep 17 00:00:00 2001 From: Andrew Stewart Date: Thu, 27 Feb 2014 09:41:47 -0800 Subject: [PATCH] Modify test harness to show we're in cylon-core --- Makefile | 4 ++-- test/support/globals.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 319469b..fff7529 100644 --- a/Makefile +++ b/Makefile @@ -6,11 +6,11 @@ TEST_FILES := test/support/globals.js $(shell find test/specs -type f -name "*.j # Run Mocha, with standard reporter. test: - @$(BIN)/mocha -r cylon --colors $(TEST_FILES) + @$(BIN)/mocha --colors $(TEST_FILES) # Run Mocha, with more verbose BDD reporter. bdd: - @$(BIN)/mocha -r cylon --colors -R spec $(TEST_FILES) + @$(BIN)/mocha --colors -R spec $(TEST_FILES) # Run JSHint lint: diff --git a/test/support/globals.js b/test/support/globals.js index 1be165a..a7c7baf 100644 --- a/test/support/globals.js +++ b/test/support/globals.js @@ -8,7 +8,7 @@ var path = require('path'); var chai = require('chai'); var sinonChai = require('sinon-chai'); -require('cylon'); +require('./../..'); Logger.setup(false) // disable Cylon's logger for tests global.chai = chai;