Created
May 31, 2016 16:50
-
-
Save diessica/76cdb131ddba6ef103d688ab7165c74e to your computer and use it in GitHub Desktop.
Mocha compiler to ignore extensions
This file contains 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
/*eslint-disable*/ | |
'use strict' | |
var babel = require('babel-core/register'); | |
function noop() { | |
return null; | |
} | |
require.extensions['.scss'] = noop; | |
require.extensions['.css'] = noop; | |
require.extensions['.svg'] = noop; | |
require.extensions['.png'] = noop; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@rxaviers up!