'use strict' // const expect = require('chai').expect const Interrupt = require('../').Interrupt //time-stamp for use when watching to distinguish reruns in console // place in alpha first file only let date = new Date(Date.now()) console.log(date.getMinutes(), "\:", date.getSeconds()) let inter17 = new Interrupt(17, { hook: 'a hook to something to do' }) // console.log('inter17', inter17) inter17.on('fired', hook => { console.log('Listener fired and returned:', hook) }) inter17.init() .then((resp) => { console.log('return from init()', resp) // setInterval(function () { // inter17.fire() // }, 1000) }) .catch(err => console.log("returned error:", err)) // describe('Interrupt Class', function () { // // it('can be manually fired', function () { // expect(hello('Forest Gump')).to.equal() // }) // // }) // })