Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

decorations

Tj Holowaychuk43ee87010fb6
diff --git a/test/browser/index.html b/test/browser/index.html
index 5fe1fe0e..5e79d046 100644
--- a/test/browser/index.html
+++ b/test/browser/index.html
@@ -1,6 +1,7 @@
<html>
<head>
<title>Mocha</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js" type="text/javascript"></script>
<script src="../../mocha.js"></script>
<link rel="stylesheet" href="style.css" />
diff --git a/test/browser/style.css b/test/browser/style.css
index aa31a185..f339d49a 100644
--- a/test/browser/style.css
+++ b/test/browser/style.css
@@ -30,6 +30,22 @@ h2 {
margin-left: 15px;
}
+.test.pass::before {
+ content: '◦';
+ font-size: 12px;
+ display: block;
+ float: left;
+ margin-right: 5px;
+}
+
+.test.fail::before {
+ content: '✖';
+ font-size: 12px;
+ display: block;
+ float: left;
+ margin-right: 5px;
+}
+
.test pre {
display: none;
margin: 5px;