it('should only allow clients to connect if they have an allowed origin', async () => {
            const hub = new Hub({ port: 8000, allowedOrigins: ['localhost:8000'] });
            const server = httpShutdown(hub.server);
            server.listen(8000);
            const hubClient = new HubClient({ url: 'ws://localhost:8000' });