MCPcopy Index your code
hub / github.com/mailvelope/mailvelope / mime.test.js

File mime.test.js

test/unit/modules/mime.test.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// emailjs-mime-builder ships as ESM and is only used by the build helpers in mime.js;
2// these tests cover the parse helpers, so we stub the builder to avoid the ESM transform.
3jest.mock('emailjs-mime-builder', () => ({__esModule: true, default: jest.fn()}));
4

Callers

nothing calls this directly

Calls 3

parseMessageFunction · 0.90
parseSignedMessageFunction · 0.90
utf8BinaryFunction · 0.70

Tested by

no test coverage detected