MCPcopy
hub / github.com/mailvelope/mailvelope / extractFrame.test.js

File extractFrame.test.js

test/unit/content-scripts/extractFrame.test.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import ExtractFrame from '../../../src/content-scripts/extractFrame';
2import {FRAME_STATUS, FRAME_ATTACHED, FRAME_DETACHED} from '../../../src/lib/constants';
3import * as util from '../../../src/lib/util';
4import {createMockRange, createMockSelection, createMockElementWithTagName, createMockElementWithOwnerDocument} from '../__mocks__/mockDOM';

Callers

nothing calls this directly

Calls 15

createMockRangeFunction · 0.90
createMockSelectionFunction · 0.90
addMethod · 0.80
toggleIconMethod · 0.80
getArmoredMessageMethod · 0.80
getPGPMessageMethod · 0.80
getEmailSenderMethod · 0.80
connectMethod · 0.45
attachToMethod · 0.45
initMethod · 0.45

Tested by

no test coverage detected