MCPcopy
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

1import {DomWriterBulk, DomWriterStreamer} from '#utils/dom-writer';
2
3describes.fakeWin('DomWriterStreamer', {amp: true}, (env) => {
4 describe('DomWriterStreamer', () => {

Callers

nothing calls this directly

Calls 12

beforeEachFunction · 0.85
expectFunction · 0.85
waitForNextBodyChunkFunction · 0.85
getAttributeMethod · 0.80
resolveFunction · 0.50
itFunction · 0.50
onBodyMethod · 0.45
onBodyChunkMethod · 0.45
onEndMethod · 0.45
closeMethod · 0.45
thenMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected