UNPKG

textversionjs

Version:

A tool for generating the text version of an html email.

56 lines 5.03 kB
<?xml version="1.0" encoding="UTF-8" ?> <testsuites disabled="0" errors="0" failures="0" tests="35" time="0.317"> <testsuite name="Empty output on empty content input" timestamp="2018-07-20T12:38:27" hostname="localhost" time="0.288" errors="0" tests="3" skipped="0" disabled="0" failures="0"> <testcase classname="Empty output on empty content input" name="returns empty" time="0.007" /> <testcase classname="Empty output on empty content input" name="empty body" time="0.001" /> <testcase classname="Empty output on empty content input" name="no text just tags" time="0.279" /> </testsuite> <testsuite name="empty html tags" timestamp="2018-07-20T12:38:27" hostname="localhost" time="0.001" errors="0" tests="1" skipped="0" disabled="0" failures="0"> <testcase classname="empty html tags" name="text should only remain" time="0.001" /> </testsuite> <testsuite name="row braking stuff" timestamp="2018-07-20T12:38:27" hostname="localhost" time="0.004" errors="0" tests="5" skipped="0" disabled="0" failures="0"> <testcase classname="row braking stuff" name="simple row brake" time="0" /> <testcase classname="row braking stuff" name="simple paragraph" time="0.001" /> <testcase classname="row braking stuff" name="simple double paragraph" time="0" /> <testcase classname="row braking stuff" name="simple div" time="0.002" /> <testcase classname="row braking stuff" name="div, p and br together" time="0" /> </testsuite> <testsuite name="link replace" timestamp="2018-07-20T12:38:27" hostname="localhost" time="0.002" errors="0" tests="4" skipped="0" disabled="0" failures="0"> <testcase classname="link replace" name="simple link replacement" time="0.001" /> <testcase classname="link replace" name="link replacement with function" time="0" /> <testcase classname="link replace" name="link replacement with function to discard link href" time="0" /> <testcase classname="link replace" name="link replacement with function to discard link href and put braces" time="0" /> </testsuite> <testsuite name="image replace" timestamp="2018-07-20T12:38:27" hostname="localhost" time="0.005" errors="0" tests="5" skipped="0" disabled="0" failures="0"> <testcase classname="image replace" name="simple image replacement" time="0.001" /> <testcase classname="image replace" name="simple image replacement if no alt is present" time="0" /> <testcase classname="image replace" name="image replacement with function" time="0.003" /> <testcase classname="image replace" name="image replacement with function to discard source" time="0.001" /> <testcase classname="image replace" name="image replacement with function to discard cource and put braces" time="0" /> </testsuite> <testsuite name="headings" timestamp="2018-07-20T12:38:27" hostname="localhost" time="0.008" errors="0" tests="4" skipped="0" disabled="0" failures="0"> <testcase classname="headings" name="simple heading with underline" time="0.007" /> <testcase classname="headings" name="heading with underline other tags within" time="0" /> <testcase classname="headings" name="heading removal with option linebreak" time="0" /> <testcase classname="headings" name="heading removal with option hashify" time="0" /> </testsuite> <testsuite name="lists" timestamp="2018-07-20T12:38:27" hostname="localhost" time="0.005" errors="0" tests="7" skipped="0" disabled="0" failures="0"> <testcase classname="lists" name="ulist removal with option linebreak" time="0.001" /> <testcase classname="lists" name="simple ulist removal" time="0.002" /> <testcase classname="lists" name="ulist removal with option indention and other styles" time="0" /> <testcase classname="lists" name="simple olist removal" time="0.001" /> <testcase classname="lists" name="olist removal with option linebreak" time="0" /> <testcase classname="lists" name="olist removal with starting value and option indention and other styles" time="0.001" /> <testcase classname="lists" name="combined ulist and olist removal with starting value and option indention and other styles" time="0" /> </testsuite> <testsuite name="remove full blocks when needed" timestamp="2018-07-20T12:38:27" hostname="localhost" time="0.003" errors="0" tests="3" skipped="0" disabled="0" failures="0"> <testcase classname="remove full blocks when needed" name="remove body scripts" time="0" /> <testcase classname="remove full blocks when needed" name="remove body styles" time="0" /> <testcase classname="remove full blocks when needed" name="remove body comments" time="0.001" /> </testsuite> <testsuite name="pasting from editors" timestamp="2018-07-20T12:38:27" hostname="localhost" time="0.001" errors="0" tests="3" skipped="0" disabled="0" failures="0"> <testcase classname="pasting from editors" name="google doc styling meta tag" time="0" /> <testcase classname="pasting from editors" name="ms word styling &lt;o:p&gt;" time="0" /> <testcase classname="pasting from editors" name="fix special tag endings" time="0.001" /> </testsuite> </testsuites>