Documenting the steps to create a Vue/ TypeScript skeleton with linting and tests.
Decision Opted to explore testing functionality provided by V3 of Nuxtjs. This uses @nuxt/test-utils-edge and vitest as its test runner.
Note: these testing mechanisms are still experimental, subject to change and are not production ready.
At present there is no Vue3 support for testing, see examples of test set ups here.
More information on nuxt test utils generally, here.
Rationale Decided to trial out the test tools provided by Nuxtjs community, as previous experience of trying to test the behaviour using other testing tools has been complex.
Investigated using Jest with Vue3 testing but the configuration alone seems incredibly complex, see more here and in the demo repo here.
Had to do this strange https://github.com/nuxt/framework/issues/2919