UNPKG

boip

Version:

a command line application that creates a new project from a boilerplate stored on GitHub

22 lines (18 loc) 253 B
class Factory { constructor (text) { this.text = text } start () { return this } succeed () { return this } fail () { return this } info () { return this } } module.exports = jest.fn(text => new Factory(text))