Skip to content

armgit / mocha

Public Imported from GitHub
0

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

Fix spec paths in test HTML files

Eugene Tiutiunnykb954f69a5f54
diff --git a/test/browser/array.spec.js b/test/browser/array.spec.js
index edf66ac4..b831f617 100644
--- a/test/browser/array.spec.js
+++ b/test/browser/array.spec.js
@@ -23,7 +23,7 @@ describe('Array', function () {
describe('Array', function () {
describe('#pop()', function () {
- it('should remove and return the last value', function () {
+ it('should remove and return the last value with expected error', function () {
var arr = [1, 2, 3];
assert(arr.pop() === 3);
assert(arr.pop() === 2);
diff --git a/test/browser/index.html b/test/browser/index.html
index d8b7cc9f..26dc8722 100644
--- a/test/browser/index.html
+++ b/test/browser/index.html
@@ -12,8 +12,8 @@
}
</script>
<script src="array.spec.js"></script>
- <script src="../acceptance/duration.spec.js"></script>
- <script src="../acceptance/timeout.spec.js"></script>
+ <script src="../unit/duration.spec.js"></script>
+ <script src="../unit/timeout.spec.js"></script>
<script src="multiple-done.spec.js"></script>
<script>
onload = function(){
diff --git a/test/browser/large.html b/test/browser/large.html
index 1804b3a0..14be6e40 100644
--- a/test/browser/large.html
+++ b/test/browser/large.html
@@ -11,7 +11,7 @@
if (!expr) throw new Error(msg || 'failed');
}
</script>
- <script src="large.js"></script>
+ <script src="large.spec.js"></script>
<script>
onload = function(){
mocha.run();