You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
I have added /* istanbul ignore next */ , but it doesn't work.
here is my project: https://github.com/rikisamurai/swc-jest-issue. You can reproduce the issue by running the command pnpm test
version:
importReactfrom'react';import{atom,useAtom}from'jotai';/* istanbul ignore next */exportconstcountAtom=atom(0);exportfunctionCounter(){const[count,setCount]=useAtom(countAtom);return(<h1><p>{count}</p><buttononClick={()=>setCount(c=>c+1)}>one up</button></h1>);}