Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ampproject/amphtml
/ test-dom-writer.js
File
test-dom-writer.js
test/unit/utils/test-dom-writer.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{DomWriterBulk, DomWriterStreamer} from
'#utils/dom-writer'
;
2
3
describes.fakeWin(
'DomWriterStreamer'
, {amp: true}, (env) => {
4
describe(
'DomWriterStreamer'
, () => {
Callers
nothing calls this directly
Calls
12
beforeEach
Function · 0.85
expect
Function · 0.85
waitForNextBodyChunk
Function · 0.85
getAttribute
Method · 0.80
resolve
Function · 0.50
it
Function · 0.50
onBody
Method · 0.45
onBodyChunk
Method · 0.45
onEnd
Method · 0.45
close
Method · 0.45
then
Method · 0.45
write
Method · 0.45
Tested by
no test coverage detected