mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
snowflake proxy asks user for relay address. also:
- tests for cookiestring and querystring - fixed Cakefile with a concat so it works fine in both browser and local test
This commit is contained in:
parent
95952830ba
commit
d735c0fbf9
3 changed files with 209 additions and 61 deletions
|
@ -2,7 +2,11 @@ fs = require 'fs'
|
|||
|
||||
{exec} = require 'child_process'
|
||||
|
||||
task 'test', 'test snowflake.coffee', () ->
|
||||
exec 'coffee snowflake_test.coffee -v', (err, stdout, stderr) ->
|
||||
task 'test', 'snowflake unit tests', () ->
|
||||
testFile = 'test/snowflake.bundle.coffee'
|
||||
exec 'cat snowflake.coffee snowflake_test.coffee | cat > ' + testFile, (err, stdout, stderr) ->
|
||||
throw err if err
|
||||
console.log stdout + stderr
|
||||
exec 'coffee ' + testFile + ' -v', (err, stdout, stderr) ->
|
||||
throw err if err
|
||||
console.log stdout + stderr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue