Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modem-dev/hunk
/ themeDetection.test.ts
File
themeDetection.test.ts
src/core/themeDetection.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, test } from
"bun:test"
;
2
import
{ EventEmitter } from
"node:events"
;
3
import
{
4
detectTerminalThemeModeFromBackground,
Callers
nothing calls this directly
Calls
3
parseOsc11BackgroundColor
Function · 0.90
themeModeForBackgroundColor
Function · 0.90
detectTerminalThemeModeFromBackground
Function · 0.90
Tested by
no test coverage detected