Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitest-dev/vitest
/ dom.test.ts
File
dom.test.ts
test/browser/test/dom.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ createNode } from
'#src/createNode'
2
import
{ afterAll, beforeEach, describe, expect, test } from
'vitest'
3
import
{ page, server } from
'vitest/browser'
4
import
'../src/button.css'
Callers
nothing calls this directly
Calls
11
createNode
Function · 0.90
afterAll
Function · 0.85
beforeEach
Function · 0.85
createWrapper
Function · 0.85
viewport
Method · 0.80
toBeInTheDocument
Method · 0.80
element
Method · 0.80
toHaveTextContent
Method · 0.80
toHaveClass
Method · 0.80
screenshot
Method · 0.65
test
Function · 0.50
Tested by
no test coverage detected