Skip to content

Commit

Permalink
don't use external service for testing websockets
Browse files Browse the repository at this point in the history
part of #537
  • Loading branch information
mstoykov authored and srguglielmo committed Nov 3, 2019
1 parent f1788a2 commit c1de4e8
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 114 deletions.
2 changes: 1 addition & 1 deletion js/modules/k6/marshalling_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func TestSetupDataMarshalling(t *testing.T) {
export function setup() {
let res = http.get("HTTPBIN_URL/html");
let html_selection = html.parseHTML(res.body);
let ws_res = ws.connect("ws://HTTPBIN_DOMAIN:HTTPBIN_PORT/ws-echo", function(socket){
let ws_res = ws.connect("WSBIN_URL/ws-echo", function(socket){
socket.on("open", function() {
socket.send("test")
})
Expand Down
Loading

0 comments on commit c1de4e8

Please sign in to comment.