Skip to content

Support addBatch() with object with more than one key #398

Description

@evanp

We should be able to do this:

vows.describe('a test suite')
  .addBatch({
      'When something happens': { // ...
      },
      'When something else happens': { // ...
      }
   })
   .export(module)

I'm not sure how this actually shakes out. I think the easiest thing to do is just add multiple Batch objects, although that makes the method signature addBatch() (singular) a little misleading.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThe software doesn't do what we say it does

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions