Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boringstack-xyz/boringstack
/ useTheme.test.ts
File
useTheme.test.ts
apps/ui/src/lib/theme/useTheme.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ act, renderHook } from
"@testing-library/react"
;
2
import
{ afterEach, beforeEach, describe, expect, it, vi } from
"vitest"
;
3
4
import
{ localStore } from
"@/lib/storage/localStorage"
;
Callers
nothing calls this directly
Calls
3
useTheme
Function · 0.90
set
Method · 0.45
get
Method · 0.45
Tested by
no test coverage detected