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:
authorLukas Winkler <git@lw1.at>2019-08-13 23:37:23 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2019-08-13 23:37:23 +0300
commit3196206e327f6d3c341686575a741626a8719b97 (patch)
tree6977469d9b07016755fc26b802e1c06a70cd3b11 /tests/lib/mocha-3.1.2/test/reporters/nyan.spec.js
parent0eb6e352a2577594399e156c59a4f045efeeddf5 (diff)
Remove old unused test files (#14659)
* remove jsdoc-toolkit the last real commit seems to have been in 2011 * remove chai and mocha directories (they are now installed with npm)
Diffstat (limited to 'tests/lib/mocha-3.1.2/test/reporters/nyan.spec.js')
-rw-r--r--tests/lib/mocha-3.1.2/test/reporters/nyan.spec.js31
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/lib/mocha-3.1.2/test/reporters/nyan.spec.js b/tests/lib/mocha-3.1.2/test/reporters/nyan.spec.js
deleted file mode 100644
index 07c455efd3..0000000000
--- a/tests/lib/mocha-3.1.2/test/reporters/nyan.spec.js
+++ /dev/null
@@ -1,31 +0,0 @@
-'use strict';
-
-var reporters = require('../../').reporters;
-var NyanCat = reporters.Nyan;
-
-describe('nyan face', function () {
- it('nyan face:(x .x) when "failures" at least one', function () {
- var nyanCat = new NyanCat({on: function () {}});
- nyanCat.stats = { passes: 2, pending: 1, failures: 1 };
- nyanCat.face().should.equal('( x .x)');
- });
-
- it('expected nyan face:(x .x) when "pending" at least one and no failing', function () {
- var nyanCat = new NyanCat({on: function () {}});
- nyanCat.stats = { passes: 2, pending: 1, failures: 0 };
- nyanCat.face().should.equal('( o .o)');
- });
-
- it('expected nyan face:(^ .^) when "passing" only', function () {
- var nyanCat = new NyanCat({on: function () {}});
- nyanCat.stats = { passes: 1, pending: 0, failures: 0 };
- nyanCat.face().should.equal('( ^ .^)');
- });
-
- it('nyan face:(- .-) when otherwise', function (done) {
- var nyanCat = new NyanCat({on: function () {}});
- nyanCat.stats = { passes: 0, pending: 0, failures: 0 };
- nyanCat.face().should.equal('( - .-)');
- done();
- });
-});