mirror of
https://github.com/bulwarkmail/native.git
synced 2026-11-01 08:06:13 +00:00
test: follow the text part options in the composer wiring check
This commit is contained in:
@@ -60,6 +60,6 @@ describe('ComposeScreen wiring', () => {
|
||||
|
||||
it('writes the text part of a rich message with mail markup', () => {
|
||||
const build = source.slice(source.indexOf('const buildOutgoing'), source.indexOf('// Save one draft version'));
|
||||
expect(build).toMatch(/textBody = htmlToPlainText\(safeHtml, \{ mailMarkup: true \}\);/);
|
||||
expect(build).toMatch(/textBody = htmlToPlainText\(safeHtml, \{\s+mailMarkup: true,/);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user