Code & Deploy
siGit Code
Git Hosting
Toggle menu
Code
Code Review
Models
Repos
Sign in
Sign in
@samitouri
/
QOSAMI-X402Tunnel-1
QOSAMI-X402Tunnel-1
/
frontend
/
src
/
test
/
setup.ts
Code
Commits
Issues
Pulls
Sessions
CI/CD
main
main
ts
8 lines
175 Bytes
Copy permalink
Copy
Raw
1
import
{
cleanup
}
from
"
@testing-library/react
"
;
2
import
{
afterEach
,
vi
}
from
"
vitest
"
;
3
4
afterEach
(()
=>
{
5
cleanup
();
6
vi
.
restoreAllMocks
();
7
vi
.
unstubAllGlobals
();
8
});