Description
Note: I have phrased this issue mostly as a question, but please look at it as a request for documentation improvement - I looked around but didn't find anything on this.
My @papb/zip module is written in TypeScript and I currently test it with ava, but without @ava/typescript
.
Today I tried to configure @ava/typescript
on it. However, although it works, I could not see any practical difference. I thought perhaps source mapping would work automagically, but I still get outputs based on the compiled file.
For example, adding a simple failing test as follows:
// test/test.ts
import test from 'ava';
test('Tests not ready...', t => {
t.fail();
});
Still yields:
Note the presence of ava_1.default
.
This was the only thing I was expecting to change. If this still works as before, what is the practical advantage of starting to use @ava/typescript
?