Probably better: `assert(!(e instanceof TypeError))`