UNPKG
happner-serial-mocha
Version:
latest (1.5.2)
1.5.2
1.5.1
1.5.0
1.4.0
1.3.0
1.2.5
1.2.3
1.2.2
1.2.1
1.2.0
1.0.0
Run mocha tests serially
github.com/happner/happner-serial-mocha
happner/happner-serial-mocha
happner-serial-mocha
/
test
/
events
/
03-test.js
20 lines
(16 loc)
•
298 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/** * module testBasic.spec * */
'use strict'
;
describe
(
"programmatic test1"
,
function
(
) {
it
(
"a passing test1"
,
function
(
done
) {
done
(); });
it
(
"a failing test1"
,
function
(
done
) {
done
(
new
Error
(
'test error'
)); });
xit
(
"a skipped test1"
,
function
(
done
) {
done
(); }); });