Skip to content

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

@evanp

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.

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