Thoughtworks interview question

TDD method of devleopment in Javascript