UNPKG
vows
Version:
latest (0.8.3)
next (1.0.0-alpha.1)
1.0.0-alpha.1
0.9.0-rc3
0.9.0-rc2
0.9.0-rc1
0.8.3
0.8.2
0.8.1
0.8.0
0.7.0
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.13
0.5.12
0.5.11
0.5.10
0.5.9
0.5.8
0.5.6
0.5.5
0.5.0
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.5
Asynchronous BDD & continuous integration for node.js
github.com/cloudhead/vows
cloudhead/vows
vows
/
test
/
c-test.js
15 lines
(12 loc)
•
307 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
var vows =
require
(
'../lib/vows'
),
assert
=
require
(
'assert'
); vows.describe(
"Vows test file starts with c"
).addBatch({
"The test file"
: { topic:
function
()
{
return
{ flag:
true
}; },
"is run"
:
function
(topic)
{
assert
.isTrue(topic.flag); } } }).export(
module
);