unformatted html
See original GitHub issueenvironment: ubuntu 14.04 mocha ^3.1.2 mochawesome ^1.4.0
dir structure:
test
add.js
package.json
test
mocha.opts
test.spec.js
just test function add(a,b){return a+b;} mocha.opts:
--reporter mochawesome
--timeout 5000
run: mocha
It’s ok to run, but when open the generated html, it does not show as ecpected. Uncaught SyntaxError: Unexpected end of input vendor.js:5
I compare the vendor.js under dist and mochawesome-reports vendor.js under dist 144k vebdor.js under mochawesome-reports 64k
the same with css file.
So what’s the problem?can any one help,thanks!
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to create unformatted HTML text - Computer Hope
You can insert unformatted text, text with spaces, or other unique appearance changes using the <pre></pre> tags.
Read more >Step 1: Unformatted HTML/XML Source - Polystyle
Step 1: Unformatted HTML/XML Source In addition to formatting HTML/XML code, Polystyle can change the case of HTML/XML tags and argument names.
Read more >HTML pre tag - W3Schools
The <pre> tag defines preformatted text. Text in a <pre> element is displayed in a fixed-width font, and the text preserves both spaces...
Read more >views-view-unformatted.html.twig | Drupal 8.2.x - Drupal API
Default theme implementation to display a view of unformatted rows. Available variables: ... rows: A list of the view's row items. attributes: The...
Read more >What does VS Code's setting html.format.unformatted do?
Can someone please explain to me what the html.format.unformatted setting does and how it differs from the html.format.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@adamgruber Hey sorry for ambiguity — there is no problem. Was just commenting (perhaps unnecessarily 🙂) that this fix still worked, and adding context in case people stumble here via google like I did.
Try adding
--no-exit true
in mocha.opts. It could be that your tests are finishing before the files are fully copied. This should force mocha to not exit until the reporter is done.