UNPKG

toga-sample

Version:

A sample formatter for Toga documentation.

17 lines (13 loc) 389 B
/*eslint-env mocha */ import { formatter } from '../index'; import expect from 'expect'; describe('toga-sample spec', function () { describe('formatter', function () { it('should return a transform stream', function () { var retval = formatter(); expect(retval.pipe).toBeA(Function); expect(retval.readable).toBe(true); expect(retval.writable).toBe(true); }); }); });