I am planning to use either CoffeeScript or TypeScript in one of my project which transcompiles to JavaScript. And I would like to use Jasmine/Mocha unit testing framework. But I could not find proper answers to below questions in google.
- Which is correct, testing complied JavaScript or CoffeScript/TypeScript and Why ?
- Does it make sense to use TypeScript/CoffeeScript to write testcases as well ?