UNPKG

aneka

Version:

Some usefull function helper for daily use

11 lines (9 loc) 336 B
import { expect } from 'chai' import fn from '../src/parse-object.js' describe('parseObject', function () { it('Should return the expected result', function () { const items = { _: { log: { pretty: true, level: 'trace' }, lang: 'id' } } const result = fn(items, { parseValue: true }) expect(result).to.eql(items) }) })