Skip to content

Commit

Permalink
New test (#81)
Browse files Browse the repository at this point in the history
* fix test - phase 1

* add CORS bypass notice

* remove unused code

* format tabs
  • Loading branch information
_eternal_flame authored Jul 11, 2018
1 parent 5e16b59 commit 6ca706f
Show file tree
Hide file tree
Showing 3 changed files with 14,696 additions and 38 deletions.
6 changes: 6 additions & 0 deletions src/test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
<link rel="stylesheet" href="mocha.css"/>
</head>
<body>
<div style="display: none" id="ptm-fail-notice">
<i>If you encounter errors in PxerThreadManager tests due to CORS policy:</i>
<p>Chrome --disable-web-security --user-data-dir=c:\my\data</p>
<p>Firefox please use <a href="https://addons.mozilla.org/en-US/firefox/addon/cross-domain-cors/">this</a></p>
</div>
<div id="mocha"></div>
<script src="mocha.js"></script>
<script>mocha.setup('bdd');</script>
Expand All @@ -21,6 +26,7 @@
<script src="../app/class/PxerApp.3.class.js"></script>
<script src="chai.js"></script>
<script src="tests.js"></script>
<script src="sinon-6.1.3.js"></script>
<script>
mocha.run();
</script>
Expand Down
Loading

0 comments on commit 6ca706f

Please sign in to comment.