mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
parent
c8c5d56b73
commit
e295556254
7 changed files with 52 additions and 23 deletions
|
@ -35,7 +35,8 @@ task 'test', 'snowflake unit tests', ->
|
|||
# Simply concat all the files because we're not using node exports.
|
||||
jasmineFiles = FILES_ALL
|
||||
outFile = 'test/bundle.spec.coffee'
|
||||
exec 'cat ' + jasmineFiles.join(' ') + ' | cat > ' + outFile
|
||||
exec 'echo "TESTING = true" > ' + outFile
|
||||
exec 'cat ' + jasmineFiles.join(' ') + ' | cat >> ' + outFile
|
||||
execSync 'coffee -cb ' + outFile
|
||||
spawn 'jasmine', ['test/bundle.spec.js'], {
|
||||
stdio: 'inherit'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue