Debian Codegraph @

test/integration/fixtures/options/dry-run/dry-run.fixture.js

raw
1 'use strict';
2
3 describe.only('suite1', function() {
4 it.skip('test1 - report as skipped', function() { });
5
6 it('test2 - report as passed', function() { });
7
8 it('test3 - report as passed', function() {
9 throw new Error('this test should not run');
10 });
11 });
12
13 describe('suite2', function () {
14 before(function() {
15 throw new Error('this hook should not run');
16 });
17 beforeEach(function() {
18 throw new Error('this hook should not run');
19 });
20
21 it.only('test4 - report as passed', function () {
22 throw new Error('this test should not run');
23 });
24
25 it('test5 - should be ignored', function () {
26 throw new Error('this test should not run');
27 });
28
29 afterEach(function() {
30 throw new Error('this hook should not run');
31 });
32 after(function() {
33 throw new Error('this hook should not run');
34 });
35 });