Assert empty websocket token rejection in smoke
Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
1 parent
a1021ecd49
commit
288c773b3e
1 file changed
+3
@@ -1357,6 +1357,9 @@ async function main() {
|
||||
);
|
||||
await waitForUnauthorizedCloseWithoutMessages(wrongTokenWs);
|
||||
|
||||
const emptyTokenWs = new WebSocket(`${parsedWsUrl.origin}${parsedWsUrl.pathname}?token=`);
|
||||
await waitForUnauthorizedCloseWithoutMessages(emptyTokenWs);
|
||||
|
||||
const ws = new WebSocket(wsUrl);
|
||||
await new Promise((resolve, reject) => {
|
||||
let sawHello = false;
|
||||
|
||||
Reference in new issue
Block a user