I can see there are lots of questions about this on SO but none of them answer my problem.
I have the following test
it(\'will poll until there are no sub