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:
authorMatthieu Aubry <mattab@users.noreply.github.com>2017-04-26 09:52:46 +0300
committerGitHub <noreply@github.com>2017-04-26 09:52:46 +0300
commit317700513cc732bb2371edbe645555feadbbc545 (patch)
treeefc28c578903563cd72d8436dbefcec32ab161c7 /tests/lib/mocha-3.1.0/test/integration/pending.spec.js
parentbc8222d451337185db343486319af6782b009148 (diff)
parent199e43ef5809d09803416db72ce0ace6c9a4d895 (diff)
Merge pull request #11651 from piwik/3.x-dev3.0.4-b1
Release Piwik 3.0.4-b1
Diffstat (limited to 'tests/lib/mocha-3.1.0/test/integration/pending.spec.js')
-rw-r--r--tests/lib/mocha-3.1.0/test/integration/pending.spec.js100
1 files changed, 0 insertions, 100 deletions
diff --git a/tests/lib/mocha-3.1.0/test/integration/pending.spec.js b/tests/lib/mocha-3.1.0/test/integration/pending.spec.js
deleted file mode 100644
index 4d4beffc2a..0000000000
--- a/tests/lib/mocha-3.1.0/test/integration/pending.spec.js
+++ /dev/null
@@ -1,100 +0,0 @@
-var assert = require('assert');
-var run = require('./helpers').runMochaJSON;
-var args = [];
-
-describe('pending', function() {
- describe('pending specs', function() {
- it('should be created by omitting a function', function(done) {
- run('pending/spec.fixture.js', args, function(err, res) {
- assert(!err);
- assert.equal(res.stats.pending, 1);
- assert.equal(res.stats.passes, 0);
- assert.equal(res.stats.failures, 0);
- assert.equal(res.code, 0);
- done();
- });
- });
- });
-
- describe('synchronous skip()', function() {
- describe('in spec', function() {
- it('should immediately skip the spec and run all others', function(done) {
- run('pending/skip-sync-spec.fixture.js', args, function(err, res) {
- assert(!err);
- assert.equal(res.stats.pending, 1);
- assert.equal(res.stats.passes, 1);
- assert.equal(res.stats.failures, 0);
- assert.equal(res.code, 0);
- done();
- });
- });
- });
-
- describe('in before', function() {
- it('should skip all suite specs', function(done) {
- run('pending/skip-sync-before.fixture.js', args, function(err, res) {
- assert(!err);
- assert.equal(res.stats.pending, 2);
- assert.equal(res.stats.passes, 0);
- assert.equal(res.stats.failures, 0);
- assert.equal(res.code, 0);
- done();
- });
- });
- });
-
- describe('in beforeEach', function() {
- it('should skip all suite specs', function(done) {
- run('pending/skip-sync-beforeEach.fixture.js', args, function(err, res) {
- assert(!err);
- assert.equal(res.stats.pending, 2);
- assert.equal(res.stats.passes, 0);
- assert.equal(res.stats.failures, 0);
- assert.equal(res.code, 0);
- done();
- });
- });
- });
- });
-
- describe('asynchronous skip()', function() {
- describe('in spec', function() {
- it('should immediately skip the spec and run all others', function(done) {
- run('pending/skip-async-spec.fixture.js', args, function(err, res) {
- assert(!err);
- assert.equal(res.stats.pending, 1);
- assert.equal(res.stats.passes, 1);
- assert.equal(res.stats.failures, 0);
- assert.equal(res.code, 0);
- done();
- });
- });
- });
-
- describe('in before', function() {
- it('should skip all suite specs', function(done) {
- run('pending/skip-async-before.fixture.js', args, function(err, res) {
- assert(!err);
- assert.equal(res.stats.pending, 2);
- assert.equal(res.stats.passes, 0);
- assert.equal(res.stats.failures, 0);
- assert.equal(res.code, 0);
- done();
- });
- });
- });
-
- describe('in beforeEach', function() {
- it('should skip all suite specs', function(done) {
- run('pending/skip-sync-beforeEach.fixture.js', args, function(err, res) {
- assert(!err);
- assert.equal(res.stats.pending, 2);
- assert.equal(res.stats.passes, 0);
- assert.equal(res.stats.failures, 0);
- assert.equal(res.code, 0);
- done();
- });
- });
- });
- });
-});