Created
August 8, 2016 15:25
-
-
Save tugberkugurlu/049d4d3fc1deca03cf406f126d9f2387 to your computer and use it in GitHub Desktop.
Run Mocha PowerShell
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
$mochaPath = Resolve-Path (Join-Path $PSScriptRoot "..\node_modules\.bin\_mocha.cmd") | |
$setupPath = Resolve-Path (Join-Path $PSScriptRoot "..\test\setup.js") | |
$testFiles = Join-Path $PSScriptRoot "..\src\**\*.test.js" | |
& $mochaPath "$testFiles" --require "$setupPath" --compilers js:babel-register --debug-brk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment