vuejs / vue-test-utils-typescript-example

Example project using TypeScript, Jest + vue-test-utils together
61 stars 31 forks source link

an issue while testing tsx components #2

Closed zdravkov closed 5 years ago

zdravkov commented 5 years ago

Hi

I am trying to create sample boilerplate with a similar configuration but have an issue with testing the tsx component. Do you have a recommendation for such scenarios.

Project here - https://github.com/zdravkov/vue-tsx-files-boilerplate

Greetings, Plamen

eddyerburgh commented 5 years ago

Hi, this issue tracker is reserved for bugs. Please ask questions on StackOverflow, or on the official forum.

zdravkov commented 5 years ago

If anybody needs such solution I have solved it by using this module - typescript-babel-jest. The linked repository is updated with runnable tests.