You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
line 33 in lib/serialize.js:
failureElement.txt(formatFailure(a.diag));
is prone to passing unicode characters that xmlbuilder can't handle which can cause tap-xunit to throw an error such as:
node_modules\tap-xunit\node_modules\xmlbuilder\lib\XMLStringifier.js:149
15:21:40 throw new Error("Invalid character (" + chr + ") in string: " + str + " at index " + chr.index);
15:21:40 ^
15:21:40
15:21:40 Error: Invalid character (�) in string:
line 33 in lib/serialize.js:
failureElement.txt(formatFailure(a.diag));
is prone to passing unicode characters that xmlbuilder can't handle which can cause tap-xunit to throw an error such as:
node_modules\tap-xunit\node_modules\xmlbuilder\lib\XMLStringifier.js:149
15:21:40 throw new Error("Invalid character (" + chr + ") in string: " + str + " at index " + chr.index);
15:21:40 ^
15:21:40
15:21:40 Error: Invalid character (�) in string:
As a result, no test results are generated.
The following pull request fixes the issue:
Add missing string sanitation #26
The text was updated successfully, but these errors were encountered: