We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb3ab7e commit 0dd8387Copy full SHA for 0dd8387
test/addvow-test.js
@@ -14,7 +14,7 @@ var promiser = function (val) {
14
}
15
};
16
17
-vows.tell("Vows:unit").addVows(function () {
+vows.describe("Vows/unit").addVows(function () {
18
promiser("hello world")().addVow(function (val) {
19
assert.equal(val, "hello world");
20
}, "addVow()");
test/vows-test.js
@@ -136,6 +136,17 @@ vows.describe("Vows").addVows({
136
137
}).addVows({
138
"A 2nd test suite": {
139
+ topic: function () {
140
+ var p = new(events.EventEmitter);
141
+ setTimeout(function () {
142
+ p.emit("success");
143
+ }, 100);
144
+ return p;
145
+ },
146
"should run after the first": function () {}
147
148
+}).addVows({
149
+ "A 3rd test suite": {
150
+ "should run last": function () {}
151
+ }
152
});
0 commit comments