We need our network test harness to listen to all possible events, but Socket.IO doesn’t give us that ability. So we cheat. We make a list of the events our tests use and make sure our code fails with a nice error message when we try to use one that isn’t in the list. That allows us to work around Socket.IO’s deficiency and finish off the chapter.