Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/nodejs.org
/ useDetectOS.test.mjs
File
useDetectOS.test.mjs
apps/site/hooks/__tests__/useDetectOS.test.mjs:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
assert from
'node:assert/strict'
;
2
import
{ describe, it, afterEach } from
'node:test'
;
3
4
import
{ renderHook, waitFor } from
'@testing-library/react'
;
Callers
nothing calls this directly
Calls
1
useDetectOS
Function · 0.85
Tested by
no test coverage detected