Skip to content

Add .it #6

@CodeLenny

Description

@CodeLenny

Add a method for running tests that aren't triggered by client events. Pass directly to Mocha.

test = new ModuleServer("Stores on Server")
test
  .html "..."
  .coffee "..."
  .onit "submits with correct data", "initial", 5000, (data) ->
    data.should.equal "payload"
  .it "winds up on remote server", (done) ->
    remoteServer.get("...").then (data) -> data.should.equal "payload"
  • Implement
  • Test
  • Document

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions