UNPKG

charlike

Version:

Small, fast, simple and streaming project scaffolder for myself, but not only. Supports hundreds of template engines through the @JSTransformers API or if you want custom `render` function passed through options

14 lines (12 loc) 256 B
import { expect } from 'chai'; import _ from 'lodash'; /** * @param {string} result * @param {string} expectedResult * @returns {undefined} */ export default (result, expectedResult) => { expect(result).to.equal(_.trim(expectedResult) + '\n'); };