mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
convert all coffeescript tests to jasmine
This commit is contained in:
parent
10d24accad
commit
e38bed8be3
8 changed files with 205 additions and 338 deletions
|
@ -2,12 +2,16 @@ This is the browser proxy component of Snowflake.
|
|||
|
||||
### Testing:
|
||||
|
||||
Unit tests are available with:
|
||||
Unit testing with Jasmine are available with:
|
||||
```
|
||||
cake test
|
||||
```
|
||||
Requires jasmine. (`npm install -g jasmine`)
|
||||
|
||||
To run locally, start a webserver and navigate to `snowflake.html`.
|
||||
To run locally, either:
|
||||
- Navigate to `proxy/build/embed.html`
|
||||
- For a more fully featured "debug" version,
|
||||
start a webserver and navigate to `snowflake.html`.
|
||||
|
||||
### Parameters
|
||||
|
||||
|
@ -16,7 +20,6 @@ snowflake uses the default relay `192.81.135.242:9901` and
|
|||
uses automatic signaling with the default broker at
|
||||
`https://snowflake-reg.appspot.com/`.
|
||||
|
||||
|
||||
Here are optional parameters to include in the query string.
|
||||
```
|
||||
manual - enables copy-paste signalling mode.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue