xwipeoutx / basil

Javascript test runner with hierarchical setup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Display errors in <pre> tags

xwipeoutx opened this issue · comments

Change the error text plugin to wrap error in pre tag.

Code is simple:

                if (error) {
                    var errorElement = appendElement(testElement, 'pre');
                    appendText(errorElement, ' (' + error + ')');
                }