text: var cov_2poa91hjp3=function(){var path='/home/stefano/repo/transcript/spec/transcript_json_spec.js',hash='cbd266ffce80b62ea11fab3b3da1ee8bfbcef2b7',global=new Function('return this')(),gcv='__coverage__',coverageData={path:'/home/stefano/repo/transcript/spec/transcript_json_spec.js',statementMap:{'0':{start:{line:1,column:13},end:{line:1,column:30}},'1':{start:{line:2,column:17},end:{line:2,column:50}},'2':{start:{line:3,column:11},end:{line:3,column:24}},'3':{start:{line:6,column:15},end:{line:6,column:28}},'4':{start:{line:7,column:15},end:{line:7,column:26}},'5':{start:{line:8,column:15},end:{line:8,column:26}},'6':{start:{line:10,column:0},end:{line:25,column:4}},'7':{start:{line:12,column:2},end:{line:24,column:6}},'8':{start:{line:14,column:17},end:{line:14,column:37}},'9':{start:{line:15,column:19},end:{line:15,column:41}},'10':{start:{line:16,column:19},end:{line:16,column:41}},'11':{start:{line:18,column:4},end:{line:18,column:68}},'12':{start:{line:20,column:19},end:{line:20,column:58}},'13':{start:{line:22,column:4},end:{line:22,column:40}},'14':{start:{line:23,column:4},end:{line:23,column:43}}},fnMap:{'0':{name:'(anonymous_0)',decl:{start:{line:10,column:38},end:{line:10,column:39}},loc:{start:{line:10,column:44},end:{line:25,column:1}},line:10},'1':{name:'(anonymous_1)',decl:{start:{line:12,column:78},end:{line:12,column:79}},loc:{start:{line:12,column:90},end:{line:24,column:3}},line:12}},branchMap:{},s:{'0':0,'1':0,'2':0,'3':0,'4':0,'5':0,'6':0,'7':0,'8':0,'9':0,'10':0,'11':0,'12':0,'13':0,'14':0},f:{'0':0,'1':0},b:{},_coverageSchema:'332fd63041d2c1bcb487cc26dd0d5f7d97098a6c'},coverage=global[gcv]||(global[gcv]={});if(coverage[path]&&coverage[path].hash===hash){return coverage[path];}coverageData.hash=hash;return coverage[path]=coverageData;}();const chai=(++cov_2poa91hjp3.s[0],require('chai'));const execSync=(++cov_2poa91hjp3.s[1],require('child_process').execSync);const fs=(++cov_2poa91hjp3.s[2],require('fs'));const should=(++cov_2poa91hjp3.s[3],chai.should());const expect=(++cov_2poa91hjp3.s[4],chai.expect);const assert=(++cov_2poa91hjp3.s[5],chai.assert);++cov_2poa91hjp3.s[6];describe('Transcripting json files',()=>{++cov_2poa91hjp3.f[0];++cov_2poa91hjp3.s[7];it('Client should return error 429 when all credentials are rate limited',async()=>{++cov_2poa91hjp3.f[1];const base=(++cov_2poa91hjp3.s[8],'res/json/base.json');const target=(++cov_2poa91hjp3.s[9],'res/json/target.json');const output=(++cov_2poa91hjp3.s[10],'res/json/output.json');++cov_2poa91hjp3.s[11];execSync(`node transcript.js json ${base} ${target} ${output}`);const result=(++cov_2poa91hjp3.s[12],JSON.parse(fs.readFileSync(output)));++cov_2poa91hjp3.s[13];expect(result.model).to.eql("335i");++cov_2poa91hjp3.s[14];expect(result.goofy).to.eql(undefined);});});