Modify test harness to show we're in cylon-core
This commit is contained in:
parent
c3a87320fd
commit
b056ee478d
4
Makefile
4
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:
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue