Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/mocha-3.1.0/test/acceptance/interfaces/exports.spec.js')
-rw-r--r--tests/lib/mocha-3.1.0/test/acceptance/interfaces/exports.spec.js43
1 files changed, 0 insertions, 43 deletions
diff --git a/tests/lib/mocha-3.1.0/test/acceptance/interfaces/exports.spec.js b/tests/lib/mocha-3.1.0/test/acceptance/interfaces/exports.spec.js
deleted file mode 100644
index 08db71200b..0000000000
--- a/tests/lib/mocha-3.1.0/test/acceptance/interfaces/exports.spec.js
+++ /dev/null
@@ -1,43 +0,0 @@
-var calls = [];
-
-exports.Array = {
- before: function(){
- calls.push('before');
- },
-
- after: function(){
- calls.push('after');
- expect(calls).to.eql([
- 'before'
- , 'before each'
- , 'one'
- , 'after each'
- , 'before each'
- , 'two'
- , 'after each'
- , 'after']);
- },
-
- '#indexOf()': {
- beforeEach: function(){
- calls.push('before each');
- },
-
- afterEach: function(){
- calls.push('after each');
- },
-
- 'should return -1 when the value is not present': function(){
- calls.push('one');
- expect([1,2,3].indexOf(5)).to.equal(-1);
- expect([1,2,3].indexOf(0)).to.equal(-1);
- },
-
- 'should return the correct index when the value is present': function(){
- calls.push('two');
- expect([1,2,3].indexOf(1)).to.equal(0);
- expect([1,2,3].indexOf(2)).to.equal(1);
- expect([1,2,3].indexOf(3)).to.equal(2);
- }
- }
-};