Created
March 15, 2016 19:16
-
-
Save eldh/090a551f1392e1b3e39c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEST_CONFIG = NODE_ENV=test BABEL_ENV=test | |
test-unit: | |
$(TEST_CONFIG) mocha app/**/*_spec.* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--compilers js:babel-register,jsx:babel-register,coffee:coffee-script/register | |
--require test/spec_init | |
--ui bdd | |
--timeout 8000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global.expect = require 'expect.js' | |
process.env.NODE_PATH = __dirname + '/../app' | |
require('babel-register') | |
require('module').Module._initPaths() | |
console.debug = -> | |
require.extensions['.scss'] = -> | |
require.extensions['.svg'] = -> | |
require.extensions['.png'] = -> | |
_ = require 'lodash' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment