avajs/ava
Make line number selection work with TS and JSX syntax
Aberta
#3.065 aberto em 10 de jul. de 2022
enhancementhelp wantedscope:globbingscope:internalsscope:typescript
Métricas do repositório
- Stars
- (20.600 estrelas)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
Line number selection relies on parsing the test file. This only supports JS syntax:
Acorn has a plugin for JSX. If we want to use that we need to decide whether to add it to AVA's dependencies or how else we register it.
There is no plugin for TypeScript. We'd have to work out a solution so that line number selection can work without using @ava/typescript. See https://github.com/avajs/ava/issues/3064 for making it work with @ava/typescript.