Skip to content

Commit

Permalink
Removed comments that duplicate the README
Browse files Browse the repository at this point in the history
  • Loading branch information
fieldkit-zz committed Feb 22, 2010
1 parent 8df63c8 commit 06bf1e0
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions lib/story/feature.js
Expand Up @@ -11,29 +11,7 @@ exports.Feature = function (feature, fn) {

//
// Async DSL:
// ----------
//
// Node-story has a human-readable DSL for deferring evaluation of steps
// until a step specifying asynchronous behavior has completed or,
// optionally, timed-out.
//
// Define how many `passes` are expected:
// - `await(5).passes`
// - `await(1).pass`
//
// Optionally you can define a timeout (in milliseconds):
// - `await(6).passes.withTimeout(2500)`
//
// Emit a passed test (without invocation parentheses):
// - `passed`
//
// Emit a failed test (without invocation parentheses):
// - `failed`
//
// `failed` will automatically display the error object passed to the
// callback, eg. by `addErrback()`, and display.
//

var asyncHelpers = {
await: function (awaited) {
queue.expected = awaited;
Expand Down

0 comments on commit 06bf1e0

Please sign in to comment.