Modify test harness to show we're in cylon-core

This commit is contained in:
Andrew Stewart 2014-02-27 09:41:47 -08:00
parent c3a87320fd
commit b056ee478d
2 changed files with 3 additions and 3 deletions

View File

@ -6,11 +6,11 @@ TEST_FILES := test/support/globals.js $(shell find test/specs -type f -name "*.j
# Run Mocha, with standard reporter. # Run Mocha, with standard reporter.
test: test:
@$(BIN)/mocha -r cylon --colors $(TEST_FILES) @$(BIN)/mocha --colors $(TEST_FILES)
# Run Mocha, with more verbose BDD reporter. # Run Mocha, with more verbose BDD reporter.
bdd: bdd:
@$(BIN)/mocha -r cylon --colors -R spec $(TEST_FILES) @$(BIN)/mocha --colors -R spec $(TEST_FILES)
# Run JSHint # Run JSHint
lint: lint:

View File

@ -8,7 +8,7 @@ var path = require('path');
var chai = require('chai'); var chai = require('chai');
var sinonChai = require('sinon-chai'); var sinonChai = require('sinon-chai');
require('cylon'); require('./../..');
Logger.setup(false) // disable Cylon's logger for tests Logger.setup(false) // disable Cylon's logger for tests
global.chai = chai; global.chai = chai;