-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Client data passed once can be evaluated different ways.
cheerio = require "cheerio"
{it} = require "mocha"
test = new ModuleTest "Has correct structure"
test
.html "..."
.coffee "..."
.ondescribe "Gets data", "data", (payload) ->
$ = cheerio.load payload
it "has 5 paragraphs", ->
$("p").length.equals 5
it "has an #aboutme section", ->
$("#aboutme").length.equals 1- Implement
- Test
- Document