mirror of
https://github.com/thangisme/notes.git
synced 2025-02-21 06:57:46 -05:00
14 lines
256 B
JavaScript
14 lines
256 B
JavaScript
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');
|
|
};
|