ember-cli-testdouble-chai

1.1.1 • Public • Published

ember-cli-testdouble-chai

Build Status

Provides a way for Ember apps to use testdouble-chai. For use with the ember-cli-testdouble addon, which is in turn a wrapper for testdouble.js.

Installation

ember install ember-cli-testdouble-chai

Usage

See the testdouble-chai repo for all the details on how to use it. However, the basics are:

var someFunction = td.function();
 
someFunction('foo');
 
expect(someFunction).to.be.called;
expect(someFunction).to.be.calledWith('foo');

Readme

Keywords

Package Sidebar

Install

npm i ember-cli-testdouble-chai

Weekly Downloads

5

Version

1.1.1

License

MIT

Last publish

Collaborators

  • alexlafroscia