flatten.js 145 Bytes Raw Blame History Permalink 1 2 3 4 5 6 "use strict"; module.exports = function (t, a) { a.deep(t({ a: { aa: 1, ab: 2 }, b: { ba: 3, bb: 4 } }), { aa: 1, ab: 2, ba: 3, bb: 4 }); };