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

bail.fixture.js « options « fixtures « integration « test « mocha-3.1.2 « lib « tests - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5095e6315835d4bbe0c0bbb923fc821e321ee0e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
'use strict';

describe('suite1', function () {
  it('should display this spec', function () {});

  it('should only display this error', function (done) {
    throw new Error('this should be displayed');
  });

  it('should not display this error', function (done) {
    throw new Error('this should not be displayed');
  });
});

describe('suite2', function () {
  before(function (done) {
    throw new Error('this hook should not be displayed');
  });

  it('should not display this error', function (done) {
    throw new Error('this should not be displayed');
  });
});