Browse Source

cleanup remnants of phantomjs

pull/602/head
Jonathan Grimes 6 years ago committed by Sergi Almacellas Abellana
parent
commit
296c89049b
  1. 1
      package.json
  2. 9
      tests/tests.html

1
package.json

@ -45,7 +45,6 @@
"mocha": "^5.2.0", "mocha": "^5.2.0",
"mocha-headless-chrome": "^2.0.1", "mocha-headless-chrome": "^2.0.1",
"open": "0.0.5", "open": "0.0.5",
"phantomjs-prebuilt": "^2.1.16",
"serve-static": "^1.7.1" "serve-static": "^1.7.1"
}, },
"scripts": { "scripts": {

9
tests/tests.html

@ -15,13 +15,8 @@
<div id="mocha"></div> <div id="mocha"></div>
<script> <script>
if (window.mochaPhantomJS) { mocha.checkLeaks();
mochaPhantomJS.run(); mocha.run();
} else {
mocha.checkLeaks();
mocha.run();
}
</script> </script>
</body> </body>
</html> </html>

Loading…
Cancel
Save