UNPKG

precis-js

Version:

A JavaScript implementation of RFC 7564 (The PRECIS Framework).

10 lines (7 loc) 218 B
global.chai = require 'chai' global.sinon = require 'sinon' global.assert = chai.assert sinon.spyObject = (name, methods) -> object = name: name object[method] = sinon.stub() for method in methods object