UNPKG

usync

Version:

A lightweight library used for serial task control

12 lines (10 loc) 316 B
import {init as initLifeCycle} from '../core/lifeCycle' import {expect} from 'chai'; import 'mocha'; describe('Init life Cycle', () => { it('life cycle count should be 6', () => { const result = initLifeCycle(); let len = Object.keys(result).length; expect(len).to.equal(6); }); });