UNPKG

lux-framework

Version:

Build scalable, Node.js-powered REST APIs with almost no code.

12 lines (9 loc) 285 B
// @flow import { expect } from 'chai'; import { it, describe } from 'mocha'; import setType from '../set-type'; describe('util setType()', () => { it('returns the function call of the first and only argument', () => { expect(setType(() => 'Test')).to.equal('Test'); }); });