Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 5090cf9

Browse files
JiaLiPassionmhevery
authored andcommitted
fix(test): fix websocket test server will crash when test in chrome (#733)
1 parent 2f11e67 commit 5090cf9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/zone_worker_entry_point.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ System.import('../lib/browser/browser').then(() => {
1818
} else {
1919
(<any>self).postMessage('fail');
2020
}
21+
websocket.close();
2122
};
2223
websocket.send('text');
2324
});

0 commit comments

Comments
 (0)