dai-shi / waku

⛩️ The minimal React framework
https://waku.gg
MIT License
3.91k stars 102 forks source link

chore: set up vitest and ts-expect #667

Closed pmelab closed 3 weeks ago

pmelab commented 3 weeks ago

Minimal setup of vitest and ts-expect.

vercel[bot] commented 3 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
waku ✅ Ready (Inspect) Visit Preview Apr 23, 2024 6:56pm
codesandbox-ci[bot] commented 3 weeks ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

pmelab commented 3 weeks ago

Note:eslint brakes locally with:

[...]/waku/packages/create-waku/template/01_template/src/components/counter.tsx
  3:26  error  Unable to resolve path to module 'react'  import/no-unresolved

[...]/waku/packages/create-waku/template/04_cssmodules/src/components/counter.tsx
  3:26  error  Unable to resolve path to module 'react'  import/no-unresolved

[...]/waku/packages/create-waku/template/07_router/src/components/Counter.tsx
  3:26  error  Unable to resolve path to module 'react'  import/no-unresolved

...

But I don't think I could have caused it with these changes.