UNPKG

@eluvio/elv-js-helpers

Version:

A collection of Javascript helper functions used by several Eluvio libraries.

10 lines (7 loc) 268 B
const TH = require('../../../test-helpers') const toPairs = TH.requireSrcFile('Conversion/toPairs') describe('toPairs', () => { it('should work as expected', () => { toPairs({a:1, b:2}).inspect().should.equal('List [ Pair( "a", 1 ), Pair( "b", 2 ) ]') }) })