expect-dom.js

0.1.2 • Public • Published

Installation

npm install expect-dom.js

Setup for node.js

var expect = require('expect.js');

  //extend expect with DOM related assertions
require('expect-dom.js')(expect);

Setup for the browser

Just use browserify...

Api

  • expect($(somelement)).to.be.visible();

Motivation

This is based on jquery (no conflict) DOM engine

Readme

Keywords

Package Sidebar

Install

npm i expect-dom.js

Weekly Downloads

1

Version

0.1.2

License

ISC

Last publish

Collaborators

  • 131