]> gerrit.simantics Code Review - simantics/district.git/blob - node_modules/config-chain/test/ini.js
Hide "enabled" column for non-component type tech type tables
[simantics/district.git] / node_modules / config-chain / test / ini.js
1
2
3 var cc =require('..')
4 var INI = require('ini')
5 var assert = require('assert')
6
7 function test(obj) {
8
9   var _json, _ini
10   var json = cc.parse (_json = JSON.stringify(obj))
11   var ini = cc.parse (_ini = INI.stringify(obj))
12 console.log(_ini, _json)
13   assert.deepEqual(json, ini)
14 }
15
16
17 test({hello: true})
18