Currently mocking web sockets within web worker is not possible. Window and global object within web worker is not shared