augur-ui-react-components
Advanced tools
Comparing version 3.0.7 to 3.0.8
@@ -1,1 +0,1 @@ | ||
{"filter":false,"title":"package.json","tooltip":"/package.json","undoManager":{"mark":4,"position":4,"stack":[[{"start":{"row":50,"column":29},"end":{"row":50,"column":32},"action":"remove","lines":["5.0"],"id":1,"ignore":true},{"start":{"row":50,"column":29},"end":{"row":50,"column":33},"action":"insert","lines":["11.1"]},{"start":{"row":60,"column":15},"end":{"row":60,"column":19},"action":"remove","lines":["2.13"]},{"start":{"row":60,"column":15},"end":{"row":60,"column":18},"action":"insert","lines":["3.0"]},{"start":{"row":62,"column":31},"end":{"row":62,"column":32},"action":"remove","lines":["9"]},{"start":{"row":62,"column":31},"end":{"row":62,"column":33},"action":"insert","lines":["10"]},{"start":{"row":71,"column":30},"end":{"row":71,"column":31},"action":"remove","lines":["7"]},{"start":{"row":71,"column":30},"end":{"row":71,"column":31},"action":"insert","lines":["8"]},{"start":{"row":73,"column":17},"end":{"row":73,"column":18},"action":"remove","lines":["1"]},{"start":{"row":73,"column":17},"end":{"row":73,"column":18},"action":"insert","lines":["2"]},{"start":{"row":75,"column":21},"end":{"row":75,"column":22},"action":"remove","lines":["1"]},{"start":{"row":75,"column":21},"end":{"row":75,"column":22},"action":"insert","lines":["2"]},{"start":{"row":76,"column":27},"end":{"row":76,"column":30},"action":"remove","lines":["3.3"]},{"start":{"row":76,"column":27},"end":{"row":76,"column":30},"action":"insert","lines":["4.1"]},{"start":{"row":77,"column":19},"end":{"row":77,"column":20},"action":"remove","lines":["2"]},{"start":{"row":77,"column":19},"end":{"row":77,"column":20},"action":"insert","lines":["3"]},{"start":{"row":78,"column":20},"end":{"row":78,"column":23},"action":"remove","lines":["6.4"]},{"start":{"row":78,"column":20},"end":{"row":78,"column":23},"action":"insert","lines":["7.0"]}],[{"start":{"row":63,"column":35},"end":{"row":63,"column":36},"action":"remove","lines":["3"],"id":2,"ignore":true},{"start":{"row":63,"column":35},"end":{"row":63,"column":36},"action":"insert","lines":["5"]},{"start":{"row":71,"column":28},"end":{"row":71,"column":31},"action":"remove","lines":["6.8"]},{"start":{"row":71,"column":28},"end":{"row":71,"column":31},"action":"insert","lines":["7.0"]}],[{"start":{"row":71,"column":26},"end":{"row":71,"column":27},"action":"insert","lines":["^"],"id":6,"ignore":true}],[{"start":{"row":58,"column":25},"end":{"row":58,"column":26},"action":"insert","lines":[" "],"id":7}],[{"start":{"row":58,"column":25},"end":{"row":58,"column":26},"action":"remove","lines":[" "],"id":8}]]},"ace":{"folds":[],"scrolltop":54,"scrollleft":0,"selection":{"start":{"row":22,"column":5},"end":{"row":22,"column":19},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":3,"state":"start","mode":"ace/mode/json"}},"timestamp":1467999682503,"hash":"b19cbc473695d2074cd0a201abed5a802dd2ec89"} | ||
{"filter":false,"title":"package.json","tooltip":"/package.json","undoManager":{"mark":5,"position":5,"stack":[[{"start":{"row":50,"column":29},"end":{"row":50,"column":32},"action":"remove","lines":["5.0"],"id":1,"ignore":true},{"start":{"row":50,"column":29},"end":{"row":50,"column":33},"action":"insert","lines":["11.1"]},{"start":{"row":60,"column":15},"end":{"row":60,"column":19},"action":"remove","lines":["2.13"]},{"start":{"row":60,"column":15},"end":{"row":60,"column":18},"action":"insert","lines":["3.0"]},{"start":{"row":62,"column":31},"end":{"row":62,"column":32},"action":"remove","lines":["9"]},{"start":{"row":62,"column":31},"end":{"row":62,"column":33},"action":"insert","lines":["10"]},{"start":{"row":71,"column":30},"end":{"row":71,"column":31},"action":"remove","lines":["7"]},{"start":{"row":71,"column":30},"end":{"row":71,"column":31},"action":"insert","lines":["8"]},{"start":{"row":73,"column":17},"end":{"row":73,"column":18},"action":"remove","lines":["1"]},{"start":{"row":73,"column":17},"end":{"row":73,"column":18},"action":"insert","lines":["2"]},{"start":{"row":75,"column":21},"end":{"row":75,"column":22},"action":"remove","lines":["1"]},{"start":{"row":75,"column":21},"end":{"row":75,"column":22},"action":"insert","lines":["2"]},{"start":{"row":76,"column":27},"end":{"row":76,"column":30},"action":"remove","lines":["3.3"]},{"start":{"row":76,"column":27},"end":{"row":76,"column":30},"action":"insert","lines":["4.1"]},{"start":{"row":77,"column":19},"end":{"row":77,"column":20},"action":"remove","lines":["2"]},{"start":{"row":77,"column":19},"end":{"row":77,"column":20},"action":"insert","lines":["3"]},{"start":{"row":78,"column":20},"end":{"row":78,"column":23},"action":"remove","lines":["6.4"]},{"start":{"row":78,"column":20},"end":{"row":78,"column":23},"action":"insert","lines":["7.0"]}],[{"start":{"row":63,"column":35},"end":{"row":63,"column":36},"action":"remove","lines":["3"],"id":2,"ignore":true},{"start":{"row":63,"column":35},"end":{"row":63,"column":36},"action":"insert","lines":["5"]},{"start":{"row":71,"column":28},"end":{"row":71,"column":31},"action":"remove","lines":["6.8"]},{"start":{"row":71,"column":28},"end":{"row":71,"column":31},"action":"insert","lines":["7.0"]}],[{"start":{"row":71,"column":26},"end":{"row":71,"column":27},"action":"insert","lines":["^"],"id":6,"ignore":true}],[{"start":{"row":58,"column":25},"end":{"row":58,"column":26},"action":"insert","lines":[" "],"id":7}],[{"start":{"row":58,"column":25},"end":{"row":58,"column":26},"action":"remove","lines":[" "],"id":8}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["6"],"id":9,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["7"]}]]},"ace":{"folds":[],"scrolltop":54,"scrollleft":0,"selection":{"start":{"row":30,"column":51},"end":{"row":30,"column":51},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1468010193701,"hash":"e362973dcb33c5f72a48982c7124c147ddab6038"} |
@@ -1,1 +0,1 @@ | ||
{"filter":false,"title":"formatted-number.js","tooltip":"/test/assertions/common/formatted-number.js","undoManager":{"mark":142,"position":142,"stack":[[{"start":{"row":2,"column":0},"end":{"row":12,"column":0},"action":"remove","lines":["// <formatted number>: {","// \t value: Number,","// formattedValue: Number,","// formatted: String,","// roundedValue: Number,","// rounded: String,","// minimized: String,","// denomination: String,","// full: String","// }",""],"id":2}],[{"start":{"row":2,"column":25},"end":{"row":2,"column":31},"action":"remove","lines":["actual"],"id":3},{"start":{"row":2,"column":25},"end":{"row":2,"column":26},"action":"insert","lines":["f"]}],[{"start":{"row":2,"column":26},"end":{"row":2,"column":27},"action":"insert","lines":["o"],"id":4}],[{"start":{"row":2,"column":27},"end":{"row":2,"column":28},"action":"insert","lines":["r"],"id":5}],[{"start":{"row":2,"column":28},"end":{"row":2,"column":29},"action":"insert","lines":["m"],"id":6}],[{"start":{"row":2,"column":29},"end":{"row":2,"column":30},"action":"insert","lines":["a"],"id":7}],[{"start":{"row":2,"column":30},"end":{"row":2,"column":31},"action":"insert","lines":["t"],"id":8}],[{"start":{"row":2,"column":31},"end":{"row":2,"column":32},"action":"insert","lines":["t"],"id":9}],[{"start":{"row":2,"column":32},"end":{"row":2,"column":33},"action":"insert","lines":["e"],"id":10}],[{"start":{"row":2,"column":33},"end":{"row":2,"column":34},"action":"insert","lines":["d"],"id":11}],[{"start":{"row":2,"column":34},"end":{"row":2,"column":35},"action":"insert","lines":["N"],"id":12}],[{"start":{"row":2,"column":35},"end":{"row":2,"column":36},"action":"insert","lines":["u"],"id":13}],[{"start":{"row":2,"column":36},"end":{"row":2,"column":37},"action":"insert","lines":["m"],"id":14}],[{"start":{"row":2,"column":37},"end":{"row":2,"column":38},"action":"insert","lines":["b"],"id":15}],[{"start":{"row":2,"column":38},"end":{"row":2,"column":39},"action":"insert","lines":["e"],"id":16}],[{"start":{"row":2,"column":39},"end":{"row":2,"column":40},"action":"insert","lines":["r"],"id":17}],[{"start":{"row":3,"column":18},"end":{"row":3,"column":24},"action":"remove","lines":["actual"],"id":18},{"start":{"row":3,"column":18},"end":{"row":3,"column":33},"action":"insert","lines":["formattedNumber"]}],[{"start":{"row":4,"column":17},"end":{"row":4,"column":23},"action":"remove","lines":["actual"],"id":19},{"start":{"row":4,"column":17},"end":{"row":4,"column":32},"action":"insert","lines":["formattedNumber"]}],[{"start":{"row":5,"column":18},"end":{"row":5,"column":24},"action":"remove","lines":["actual"],"id":20},{"start":{"row":5,"column":18},"end":{"row":5,"column":33},"action":"insert","lines":["formattedNumber"]}],[{"start":{"row":6,"column":17},"end":{"row":6,"column":23},"action":"remove","lines":["actual"],"id":21},{"start":{"row":6,"column":17},"end":{"row":6,"column":32},"action":"insert","lines":["formattedNumber"]}],[{"start":{"row":7,"column":18},"end":{"row":7,"column":24},"action":"remove","lines":["actual"],"id":22},{"start":{"row":7,"column":18},"end":{"row":7,"column":33},"action":"insert","lines":["formattedNumber"]}],[{"start":{"row":8,"column":17},"end":{"row":8,"column":23},"action":"remove","lines":["actual"],"id":23},{"start":{"row":8,"column":17},"end":{"row":8,"column":32},"action":"insert","lines":["formattedNumber"]}],[{"start":{"row":9,"column":18},"end":{"row":9,"column":24},"action":"remove","lines":["actual"],"id":24},{"start":{"row":9,"column":18},"end":{"row":9,"column":33},"action":"insert","lines":["formattedNumber"]}],[{"start":{"row":10,"column":17},"end":{"row":10,"column":23},"action":"remove","lines":["actual"],"id":25},{"start":{"row":10,"column":17},"end":{"row":10,"column":32},"action":"insert","lines":["formattedNumber"]}],[{"start":{"row":11,"column":18},"end":{"row":11,"column":24},"action":"remove","lines":["actual"],"id":26},{"start":{"row":11,"column":18},"end":{"row":11,"column":33},"action":"insert","lines":["formattedNumber"]}],[{"start":{"row":12,"column":17},"end":{"row":12,"column":23},"action":"remove","lines":["actual"],"id":27},{"start":{"row":12,"column":17},"end":{"row":12,"column":32},"action":"insert","lines":["formattedNumber"]}],[{"start":{"row":13,"column":18},"end":{"row":13,"column":24},"action":"remove","lines":["actual"],"id":28},{"start":{"row":13,"column":18},"end":{"row":13,"column":33},"action":"insert","lines":["formattedNumber"]}],[{"start":{"row":14,"column":17},"end":{"row":14,"column":23},"action":"remove","lines":["actual"],"id":29},{"start":{"row":14,"column":17},"end":{"row":14,"column":32},"action":"insert","lines":["formattedNumber"]}],[{"start":{"row":15,"column":18},"end":{"row":15,"column":24},"action":"remove","lines":["actual"],"id":30},{"start":{"row":15,"column":18},"end":{"row":15,"column":33},"action":"insert","lines":["formattedNumber"]}],[{"start":{"row":16,"column":17},"end":{"row":16,"column":23},"action":"remove","lines":["actual"],"id":31},{"start":{"row":16,"column":17},"end":{"row":16,"column":32},"action":"insert","lines":["formattedNumber"]}],[{"start":{"row":17,"column":18},"end":{"row":17,"column":24},"action":"remove","lines":["actual"],"id":32},{"start":{"row":17,"column":18},"end":{"row":17,"column":33},"action":"insert","lines":["formattedNumber"]}],[{"start":{"row":18,"column":17},"end":{"row":18,"column":23},"action":"remove","lines":["actual"],"id":33},{"start":{"row":18,"column":17},"end":{"row":18,"column":32},"action":"insert","lines":["formattedNumber"]}],[{"start":{"row":19,"column":18},"end":{"row":19,"column":24},"action":"remove","lines":["actual"],"id":34},{"start":{"row":19,"column":18},"end":{"row":19,"column":33},"action":"insert","lines":["formattedNumber"]}],[{"start":{"row":20,"column":17},"end":{"row":20,"column":23},"action":"remove","lines":["actual"],"id":35},{"start":{"row":20,"column":17},"end":{"row":20,"column":32},"action":"insert","lines":["formattedNumber"]}],[{"start":{"row":2,"column":40},"end":{"row":2,"column":41},"action":"insert","lines":[","],"id":36}],[{"start":{"row":2,"column":41},"end":{"row":2,"column":42},"action":"insert","lines":[" "],"id":37}],[{"start":{"row":2,"column":42},"end":{"row":2,"column":43},"action":"insert","lines":["l"],"id":38}],[{"start":{"row":2,"column":43},"end":{"row":2,"column":44},"action":"insert","lines":["a"],"id":39}],[{"start":{"row":2,"column":44},"end":{"row":2,"column":45},"action":"insert","lines":["e"],"id":40}],[{"start":{"row":2,"column":45},"end":{"row":2,"column":46},"action":"insert","lines":["l"],"id":41}],[{"start":{"row":2,"column":45},"end":{"row":2,"column":46},"action":"remove","lines":["l"],"id":42}],[{"start":{"row":2,"column":44},"end":{"row":2,"column":45},"action":"remove","lines":["e"],"id":43}],[{"start":{"row":2,"column":44},"end":{"row":2,"column":45},"action":"insert","lines":["b"],"id":44}],[{"start":{"row":2,"column":45},"end":{"row":2,"column":46},"action":"insert","lines":["e"],"id":45}],[{"start":{"row":2,"column":46},"end":{"row":2,"column":47},"action":"insert","lines":["l"],"id":46}],[{"start":{"row":3,"column":36},"end":{"row":3,"column":37},"action":"insert","lines":["$"],"id":47}],[{"start":{"row":3,"column":37},"end":{"row":3,"column":38},"action":"insert","lines":["{"],"id":48}],[{"start":{"row":3,"column":38},"end":{"row":3,"column":39},"action":"insert","lines":["l"],"id":49}],[{"start":{"row":3,"column":39},"end":{"row":3,"column":40},"action":"insert","lines":["b"],"id":50}],[{"start":{"row":3,"column":40},"end":{"row":3,"column":41},"action":"insert","lines":["e"],"id":51}],[{"start":{"row":3,"column":41},"end":{"row":3,"column":42},"action":"insert","lines":["l"],"id":52}],[{"start":{"row":3,"column":42},"end":{"row":3,"column":43},"action":"insert","lines":["}"],"id":53}],[{"start":{"row":3,"column":43},"end":{"row":3,"column":44},"action":"insert","lines":[" "],"id":54}],[{"start":{"row":3,"column":39},"end":{"row":3,"column":40},"action":"insert","lines":["a"],"id":55}],[{"start":{"row":4,"column":35},"end":{"row":4,"column":43},"action":"insert","lines":["${label}"],"id":56}],[{"start":{"row":4,"column":43},"end":{"row":4,"column":44},"action":"insert","lines":[" "],"id":57}],[{"start":{"row":5,"column":42},"end":{"row":5,"column":65},"action":"remove","lines":["volume formatted number"],"id":58},{"start":{"row":5,"column":42},"end":{"row":5,"column":50},"action":"insert","lines":["${label}"]}],[{"start":{"row":6,"column":41},"end":{"row":6,"column":64},"action":"remove","lines":["volume formatted number"],"id":59},{"start":{"row":6,"column":41},"end":{"row":6,"column":49},"action":"insert","lines":["${label}"]}],[{"start":{"row":7,"column":51},"end":{"row":7,"column":74},"action":"remove","lines":["volume formatted number"],"id":60},{"start":{"row":7,"column":51},"end":{"row":7,"column":59},"action":"insert","lines":["${label}"]}],[{"start":{"row":8,"column":50},"end":{"row":8,"column":73},"action":"remove","lines":["volume formatted number"],"id":61},{"start":{"row":8,"column":50},"end":{"row":8,"column":58},"action":"insert","lines":["${label}"]}],[{"start":{"row":9,"column":46},"end":{"row":9,"column":69},"action":"remove","lines":["volume formatted number"],"id":62},{"start":{"row":9,"column":46},"end":{"row":9,"column":54},"action":"insert","lines":["${label}"]}],[{"start":{"row":10,"column":45},"end":{"row":10,"column":68},"action":"remove","lines":["volume formatted number"],"id":63},{"start":{"row":10,"column":45},"end":{"row":10,"column":53},"action":"insert","lines":["${label}"]}],[{"start":{"row":11,"column":49},"end":{"row":11,"column":72},"action":"remove","lines":["volume formatted number"],"id":64},{"start":{"row":11,"column":49},"end":{"row":11,"column":57},"action":"insert","lines":["${label}"]}],[{"start":{"row":12,"column":48},"end":{"row":12,"column":71},"action":"remove","lines":["volume formatted number"],"id":65},{"start":{"row":12,"column":48},"end":{"row":12,"column":56},"action":"insert","lines":["${label}"]}],[{"start":{"row":13,"column":44},"end":{"row":13,"column":67},"action":"remove","lines":["volume formatted number"],"id":66},{"start":{"row":13,"column":44},"end":{"row":13,"column":52},"action":"insert","lines":["${label}"]}],[{"start":{"row":14,"column":43},"end":{"row":14,"column":66},"action":"remove","lines":["volume formatted number"],"id":67},{"start":{"row":14,"column":43},"end":{"row":14,"column":51},"action":"insert","lines":["${label}"]}],[{"start":{"row":15,"column":46},"end":{"row":15,"column":69},"action":"remove","lines":["volume formatted number"],"id":68},{"start":{"row":15,"column":46},"end":{"row":15,"column":54},"action":"insert","lines":["${label}"]}],[{"start":{"row":16,"column":45},"end":{"row":16,"column":68},"action":"remove","lines":["volume formatted number"],"id":69},{"start":{"row":16,"column":45},"end":{"row":16,"column":53},"action":"insert","lines":["${label}"]}],[{"start":{"row":17,"column":49},"end":{"row":17,"column":72},"action":"remove","lines":["volume formatted number"],"id":70},{"start":{"row":17,"column":49},"end":{"row":17,"column":57},"action":"insert","lines":["${label}"]}],[{"start":{"row":18,"column":48},"end":{"row":18,"column":71},"action":"remove","lines":["volume formatted number"],"id":71},{"start":{"row":18,"column":48},"end":{"row":18,"column":56},"action":"insert","lines":["${label}"]}],[{"start":{"row":19,"column":41},"end":{"row":19,"column":64},"action":"remove","lines":["volume formatted number"],"id":72},{"start":{"row":19,"column":41},"end":{"row":19,"column":49},"action":"insert","lines":["${label}"]}],[{"start":{"row":20,"column":40},"end":{"row":20,"column":63},"action":"remove","lines":["volume formatted number"],"id":73},{"start":{"row":20,"column":40},"end":{"row":20,"column":48},"action":"insert","lines":["${label}"]}],[{"start":{"row":2,"column":50},"end":{"row":3,"column":0},"action":"insert","lines":["",""],"id":74},{"start":{"row":3,"column":0},"end":{"row":3,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":3,"column":1},"end":{"row":3,"column":2},"action":"insert","lines":["l"],"id":75}],[{"start":{"row":3,"column":2},"end":{"row":3,"column":3},"action":"insert","lines":["a"],"id":76}],[{"start":{"row":3,"column":3},"end":{"row":3,"column":4},"action":"insert","lines":["b"],"id":77}],[{"start":{"row":3,"column":4},"end":{"row":3,"column":5},"action":"insert","lines":["e"],"id":78}],[{"start":{"row":3,"column":5},"end":{"row":3,"column":6},"action":"insert","lines":["l"],"id":79}],[{"start":{"row":3,"column":6},"end":{"row":3,"column":7},"action":"insert","lines":[" "],"id":80}],[{"start":{"row":3,"column":7},"end":{"row":3,"column":8},"action":"insert","lines":["="],"id":81}],[{"start":{"row":3,"column":8},"end":{"row":3,"column":9},"action":"insert","lines":[" "],"id":82}],[{"start":{"row":3,"column":9},"end":{"row":3,"column":10},"action":"insert","lines":["l"],"id":83}],[{"start":{"row":3,"column":10},"end":{"row":3,"column":11},"action":"insert","lines":["a"],"id":84}],[{"start":{"row":3,"column":11},"end":{"row":3,"column":12},"action":"insert","lines":["b"],"id":85}],[{"start":{"row":3,"column":12},"end":{"row":3,"column":13},"action":"insert","lines":["e"],"id":86}],[{"start":{"row":3,"column":13},"end":{"row":3,"column":14},"action":"insert","lines":["l"],"id":87}],[{"start":{"row":3,"column":14},"end":{"row":3,"column":15},"action":"insert","lines":[" "],"id":88}],[{"start":{"row":3,"column":15},"end":{"row":3,"column":16},"action":"insert","lines":["|"],"id":89}],[{"start":{"row":3,"column":16},"end":{"row":3,"column":17},"action":"insert","lines":["|"],"id":90}],[{"start":{"row":3,"column":17},"end":{"row":3,"column":18},"action":"insert","lines":[" "],"id":91}],[{"start":{"row":3,"column":18},"end":{"row":3,"column":19},"action":"insert","lines":["'"],"id":92}],[{"start":{"row":3,"column":19},"end":{"row":3,"column":20},"action":"insert","lines":["'"],"id":93}],[{"start":{"row":3,"column":20},"end":{"row":3,"column":21},"action":"insert","lines":[";"],"id":94}],[{"start":{"row":3,"column":1},"end":{"row":3,"column":2},"action":"insert","lines":["f"],"id":95}],[{"start":{"row":3,"column":2},"end":{"row":3,"column":3},"action":"insert","lines":["i"],"id":96}],[{"start":{"row":3,"column":3},"end":{"row":3,"column":4},"action":"insert","lines":["n"],"id":97}],[{"start":{"row":3,"column":4},"end":{"row":3,"column":5},"action":"insert","lines":["a"],"id":98}],[{"start":{"row":3,"column":5},"end":{"row":3,"column":6},"action":"insert","lines":["l"],"id":99}],[{"start":{"row":3,"column":6},"end":{"row":3,"column":7},"action":"insert","lines":["L"],"id":100}],[{"start":{"row":3,"column":7},"end":{"row":3,"column":8},"action":"remove","lines":["l"],"id":101}],[{"start":{"row":3,"column":1},"end":{"row":3,"column":2},"action":"insert","lines":["c"],"id":102}],[{"start":{"row":3,"column":2},"end":{"row":3,"column":3},"action":"insert","lines":["o"],"id":103}],[{"start":{"row":3,"column":3},"end":{"row":3,"column":4},"action":"insert","lines":["n"],"id":104}],[{"start":{"row":3,"column":4},"end":{"row":3,"column":5},"action":"insert","lines":["s"],"id":105}],[{"start":{"row":3,"column":5},"end":{"row":3,"column":6},"action":"insert","lines":["t"],"id":106}],[{"start":{"row":3,"column":6},"end":{"row":3,"column":7},"action":"insert","lines":[" "],"id":107}],[{"start":{"row":2,"column":47},"end":{"row":2,"column":48},"action":"insert","lines":[" "],"id":133}],[{"start":{"row":2,"column":48},"end":{"row":2,"column":49},"action":"insert","lines":["="],"id":134}],[{"start":{"row":2,"column":49},"end":{"row":2,"column":50},"action":"insert","lines":[" "],"id":135}],[{"start":{"row":2,"column":50},"end":{"row":2,"column":51},"action":"insert","lines":["'"],"id":136}],[{"start":{"row":2,"column":51},"end":{"row":2,"column":67},"action":"insert","lines":["formatted number"],"id":137}],[{"start":{"row":2,"column":67},"end":{"row":2,"column":68},"action":"insert","lines":["'"],"id":138}],[{"start":{"row":3,"column":0},"end":{"row":4,"column":0},"action":"remove","lines":["\tconst finalLabel = label || '';",""],"id":139}],[{"start":{"row":3,"column":45},"end":{"row":3,"column":62},"action":"remove","lines":["formatted number "],"id":140}],[{"start":{"row":4,"column":44},"end":{"row":4,"column":61},"action":"remove","lines":["formatted number "],"id":141}],[{"start":{"row":9,"column":55},"end":{"row":9,"column":56},"action":"insert","lines":["'"],"id":142}],[{"start":{"row":9,"column":65},"end":{"row":9,"column":66},"action":"insert","lines":["'"],"id":143}],[{"start":{"row":10,"column":63},"end":{"row":10,"column":64},"action":"insert","lines":["'"],"id":144}],[{"start":{"row":10,"column":54},"end":{"row":10,"column":55},"action":"insert","lines":["'"],"id":145}],[{"start":{"row":11,"column":58},"end":{"row":11,"column":59},"action":"insert","lines":["'"],"id":146}],[{"start":{"row":11,"column":71},"end":{"row":11,"column":72},"action":"insert","lines":["'"],"id":147}],[{"start":{"row":12,"column":69},"end":{"row":12,"column":70},"action":"insert","lines":["'"],"id":148}],[{"start":{"row":12,"column":57},"end":{"row":12,"column":58},"action":"insert","lines":["'"],"id":149}],[{"start":{"row":13,"column":60},"end":{"row":13,"column":61},"action":"insert","lines":["'"],"id":150}],[{"start":{"row":13,"column":53},"end":{"row":13,"column":54},"action":"insert","lines":["'"],"id":151}],[{"start":{"row":14,"column":52},"end":{"row":14,"column":53},"action":"insert","lines":["'"],"id":152}],[{"start":{"row":14,"column":60},"end":{"row":14,"column":61},"action":"insert","lines":["'"],"id":153}],[{"start":{"row":15,"column":55},"end":{"row":15,"column":56},"action":"insert","lines":["'"],"id":154}],[{"start":{"row":15,"column":65},"end":{"row":15,"column":66},"action":"insert","lines":["'"],"id":155}],[{"start":{"row":16,"column":63},"end":{"row":16,"column":64},"action":"insert","lines":["'"],"id":156}],[{"start":{"row":16,"column":54},"end":{"row":16,"column":55},"action":"insert","lines":["'"],"id":157}],[{"start":{"row":17,"column":58},"end":{"row":17,"column":59},"action":"insert","lines":["'"],"id":158}],[{"start":{"row":17,"column":71},"end":{"row":17,"column":72},"action":"insert","lines":["'"],"id":159}],[{"start":{"row":18,"column":69},"end":{"row":18,"column":70},"action":"insert","lines":["'"],"id":160}],[{"start":{"row":18,"column":57},"end":{"row":18,"column":58},"action":"insert","lines":["'"],"id":161}],[{"start":{"row":19,"column":54},"end":{"row":19,"column":55},"action":"insert","lines":["'"],"id":162}],[{"start":{"row":19,"column":50},"end":{"row":19,"column":51},"action":"insert","lines":["'"],"id":163}],[{"start":{"row":20,"column":53},"end":{"row":20,"column":54},"action":"insert","lines":["'"],"id":164}],[{"start":{"row":20,"column":49},"end":{"row":20,"column":50},"action":"insert","lines":["'"],"id":165}],[{"start":{"row":6,"column":55},"end":{"row":6,"column":56},"action":"insert","lines":["'"],"id":166}],[{"start":{"row":6,"column":50},"end":{"row":6,"column":51},"action":"insert","lines":["'"],"id":167}],[{"start":{"row":5,"column":51},"end":{"row":5,"column":52},"action":"insert","lines":["'"],"id":168}],[{"start":{"row":5,"column":57},"end":{"row":5,"column":58},"action":"insert","lines":["'"],"id":169}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":10,"column":83},"end":{"row":10,"column":83},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":123,"mode":"ace/mode/javascript"}},"timestamp":1468005639943,"hash":"b73fdebc8071da3756cb3014485f5d5a7b1b6c7b"} | ||
{"filter":false,"title":"formatted-number.js","tooltip":"/test/assertions/common/formatted-number.js","undoManager":{"mark":-1,"position":-1,"stack":[[{"start":{"row":3,"column":0},"end":{"row":3,"column":1},"action":"remove","lines":["\t"],"id":203},{"start":{"row":4,"column":0},"end":{"row":4,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":5,"column":0},"end":{"row":5,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":6,"column":0},"end":{"row":6,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":7,"column":0},"end":{"row":7,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":9,"column":0},"end":{"row":9,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":10,"column":0},"end":{"row":10,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":11,"column":0},"end":{"row":11,"column":1},"action":"remove","lines":["\t"]},{"start":{"row":12,"column":0},"end":{"row":12,"column":1},"action":"remove","lines":["\t"]}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":28,"column":0},"end":{"row":28,"column":0},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1468011662224,"hash":"646696571602504273f9d4a22277cde931d15127"} |
@@ -1,1 +0,1 @@ | ||
{"filter":false,"title":"numberShape.js","tooltip":"/test/assertions/common/numberShape.js","undoManager":{"mark":36,"position":36,"stack":[[{"start":{"row":12,"column":33},"end":{"row":12,"column":39},"action":"remove","lines":["refObj"],"id":114},{"start":{"row":12,"column":33},"end":{"row":12,"column":34},"action":"insert","lines":["l"]}],[{"start":{"row":12,"column":34},"end":{"row":12,"column":35},"action":"insert","lines":["a"],"id":115}],[{"start":{"row":12,"column":35},"end":{"row":12,"column":36},"action":"insert","lines":["b"],"id":116}],[{"start":{"row":12,"column":36},"end":{"row":12,"column":37},"action":"insert","lines":["e"],"id":117}],[{"start":{"row":12,"column":37},"end":{"row":12,"column":38},"action":"insert","lines":["l"],"id":118}],[{"start":{"row":13,"column":13},"end":{"row":13,"column":19},"action":"remove","lines":["refObj"],"id":119},{"start":{"row":13,"column":13},"end":{"row":13,"column":18},"action":"insert","lines":["label"]}],[{"start":{"row":12,"column":38},"end":{"row":12,"column":39},"action":"insert","lines":[" "],"id":120}],[{"start":{"row":12,"column":39},"end":{"row":12,"column":40},"action":"insert","lines":["="],"id":121}],[{"start":{"row":12,"column":40},"end":{"row":12,"column":41},"action":"insert","lines":[" "],"id":122}],[{"start":{"row":12,"column":41},"end":{"row":12,"column":42},"action":"insert","lines":["'"],"id":123}],[{"start":{"row":12,"column":42},"end":{"row":12,"column":43},"action":"insert","lines":["F"],"id":124}],[{"start":{"row":12,"column":43},"end":{"row":12,"column":44},"action":"insert","lines":["o"],"id":125}],[{"start":{"row":12,"column":44},"end":{"row":12,"column":45},"action":"insert","lines":["r"],"id":126}],[{"start":{"row":12,"column":45},"end":{"row":12,"column":46},"action":"insert","lines":["m"],"id":127}],[{"start":{"row":12,"column":46},"end":{"row":12,"column":47},"action":"insert","lines":["a"],"id":128}],[{"start":{"row":12,"column":47},"end":{"row":12,"column":48},"action":"insert","lines":["t"],"id":129}],[{"start":{"row":12,"column":48},"end":{"row":12,"column":49},"action":"insert","lines":["t"],"id":130}],[{"start":{"row":12,"column":49},"end":{"row":12,"column":50},"action":"insert","lines":["e"],"id":131}],[{"start":{"row":12,"column":50},"end":{"row":12,"column":51},"action":"insert","lines":["d"],"id":132}],[{"start":{"row":12,"column":51},"end":{"row":12,"column":52},"action":"insert","lines":[" "],"id":133}],[{"start":{"row":12,"column":52},"end":{"row":12,"column":53},"action":"insert","lines":["N"],"id":134}],[{"start":{"row":12,"column":53},"end":{"row":12,"column":54},"action":"insert","lines":["u"],"id":135}],[{"start":{"row":12,"column":54},"end":{"row":12,"column":55},"action":"insert","lines":["m"],"id":136}],[{"start":{"row":12,"column":55},"end":{"row":12,"column":56},"action":"insert","lines":["b"],"id":137}],[{"start":{"row":12,"column":56},"end":{"row":12,"column":57},"action":"insert","lines":["e"],"id":138}],[{"start":{"row":12,"column":57},"end":{"row":12,"column":58},"action":"insert","lines":["r"],"id":139}],[{"start":{"row":12,"column":58},"end":{"row":12,"column":59},"action":"insert","lines":["'"],"id":140}],[{"start":{"row":12,"column":52},"end":{"row":12,"column":53},"action":"remove","lines":["N"],"id":141}],[{"start":{"row":12,"column":52},"end":{"row":12,"column":53},"action":"insert","lines":["n"],"id":142}],[{"start":{"row":13,"column":19},"end":{"row":13,"column":33},"action":"remove","lines":["'s numberShape"],"id":143}],[{"start":{"row":13,"column":18},"end":{"row":13,"column":19},"action":"remove","lines":["}"],"id":144}],[{"start":{"row":13,"column":12},"end":{"row":13,"column":13},"action":"remove","lines":["{"],"id":145}],[{"start":{"row":13,"column":11},"end":{"row":13,"column":12},"action":"remove","lines":["$"],"id":146}],[{"start":{"row":13,"column":10},"end":{"row":13,"column":11},"action":"remove","lines":["`"],"id":147}],[{"start":{"row":13,"column":15},"end":{"row":13,"column":16},"action":"remove","lines":["`"],"id":148}],[{"start":{"row":2,"column":0},"end":{"row":11,"column":4},"action":"remove","lines":["// <formatted number>: {","// \t value: Number,","// formattedValue: Number,","// formatted: String,","// roundedValue: Number,","// rounded: String,","// minimized: String,","// denomination: String,","// full: String","// }"],"id":149}],[{"start":{"row":1,"column":0},"end":{"row":2,"column":0},"action":"remove","lines":["",""],"id":150}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":23,"column":0},"end":{"row":23,"column":0},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1468009766237,"hash":"aa87e89867e52679cecaf443c082c286c0b8efb8"} | ||
{"filter":false,"title":"numberShape.js","tooltip":"/test/assertions/common/numberShape.js","undoManager":{"mark":-1,"position":-1,"stack":[]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":0,"column":0},"end":{"row":84,"column":2},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":35,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1468009767645,"hash":"048295d42ad7003f69f98d5dc84b28728b608dc6"} |
@@ -1,1 +0,1 @@ | ||
{"filter":false,"title":"positions-summary.js","tooltip":"/test/assertions/positions-summary.js","undoManager":{"mark":98,"position":98,"stack":[[{"start":{"row":0,"column":0},"end":{"row":1,"column":0},"action":"insert","lines":["",""],"id":59}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":82},"action":"insert","lines":["import assertFormattedNumber from '../../test/assertions/common/formatted-number';"],"id":60}],[{"start":{"row":0,"column":82},"end":{"row":1,"column":0},"action":"insert","lines":["",""],"id":61}],[{"start":{"row":4,"column":0},"end":{"row":17,"column":0},"action":"remove","lines":["/*","\tpositionsSummary: {","\t\tgainPercent: [Object],","\t\tnetChange: [Object],","\t\tnumPositions: [Object],","\t\tpositions: undefined/[Object],","\t\tpurchasePrice: [Object],","\t\tqtyShares: [Object],","\t\tshareChange: [Object],","\t\ttotalCost: [Object],","\t\ttotalValue: [Object]","\t}","*/",""],"id":62}],[{"start":{"row":4,"column":0},"end":{"row":5,"column":0},"action":"remove","lines":["",""],"id":63}],[{"start":{"row":7,"column":1},"end":{"row":7,"column":27},"action":"remove","lines":["checkPositionSummaryObject"],"id":64},{"start":{"row":7,"column":1},"end":{"row":7,"column":22},"action":"insert","lines":["assertFormattedNumber"]}],[{"start":{"row":7,"column":41},"end":{"row":7,"column":42},"action":"insert","lines":[")"],"id":65}],[{"start":{"row":7,"column":42},"end":{"row":7,"column":43},"action":"insert","lines":[";"],"id":66}],[{"start":{"row":7,"column":43},"end":{"row":7,"column":60},"action":"remove","lines":[", 'gainPercent');"],"id":67}],[{"start":{"row":7,"column":43},"end":{"row":8,"column":0},"action":"insert","lines":["",""],"id":68},{"start":{"row":8,"column":0},"end":{"row":8,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":8,"column":1},"end":{"row":8,"column":43},"action":"insert","lines":["assertFormattedNumber(actual.gainPercent);"],"id":69}],[{"start":{"row":8,"column":1},"end":{"row":9,"column":0},"action":"insert","lines":["",""],"id":70},{"start":{"row":9,"column":0},"end":{"row":9,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":9,"column":43},"end":{"row":10,"column":0},"action":"insert","lines":["",""],"id":71},{"start":{"row":10,"column":0},"end":{"row":10,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":10,"column":1},"end":{"row":10,"column":43},"action":"insert","lines":["assertFormattedNumber(actual.gainPercent);"],"id":72}],[{"start":{"row":10,"column":43},"end":{"row":11,"column":0},"action":"insert","lines":["",""],"id":73},{"start":{"row":11,"column":0},"end":{"row":11,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":11,"column":1},"end":{"row":11,"column":43},"action":"insert","lines":["assertFormattedNumber(actual.gainPercent);"],"id":74}],[{"start":{"row":11,"column":43},"end":{"row":12,"column":0},"action":"insert","lines":["",""],"id":75},{"start":{"row":12,"column":0},"end":{"row":12,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":12,"column":1},"end":{"row":12,"column":43},"action":"insert","lines":["assertFormattedNumber(actual.gainPercent);"],"id":76}],[{"start":{"row":12,"column":43},"end":{"row":13,"column":0},"action":"insert","lines":["",""],"id":77},{"start":{"row":13,"column":0},"end":{"row":13,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":13,"column":1},"end":{"row":13,"column":43},"action":"insert","lines":["assertFormattedNumber(actual.gainPercent);"],"id":78}],[{"start":{"row":13,"column":43},"end":{"row":14,"column":0},"action":"insert","lines":["",""],"id":79},{"start":{"row":14,"column":0},"end":{"row":14,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":14,"column":1},"end":{"row":14,"column":43},"action":"insert","lines":["assertFormattedNumber(actual.gainPercent);"],"id":80}],[{"start":{"row":14,"column":43},"end":{"row":15,"column":0},"action":"insert","lines":["",""],"id":81},{"start":{"row":15,"column":0},"end":{"row":15,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":15,"column":1},"end":{"row":15,"column":43},"action":"insert","lines":["assertFormattedNumber(actual.gainPercent);"],"id":82}],[{"start":{"row":15,"column":43},"end":{"row":16,"column":0},"action":"insert","lines":["",""],"id":83},{"start":{"row":16,"column":0},"end":{"row":16,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":9,"column":30},"end":{"row":9,"column":41},"action":"remove","lines":["gainPercent"],"id":84},{"start":{"row":9,"column":30},"end":{"row":9,"column":39},"action":"insert","lines":["netChange"]}],[{"start":{"row":10,"column":30},"end":{"row":10,"column":41},"action":"remove","lines":["gainPercent"],"id":85},{"start":{"row":10,"column":30},"end":{"row":10,"column":42},"action":"insert","lines":["numPositions"]}],[{"start":{"row":11,"column":30},"end":{"row":11,"column":41},"action":"remove","lines":["gainPercent"],"id":86},{"start":{"row":11,"column":30},"end":{"row":11,"column":43},"action":"insert","lines":["purchasePrice"]}],[{"start":{"row":12,"column":30},"end":{"row":12,"column":41},"action":"remove","lines":["gainPercent"],"id":87},{"start":{"row":12,"column":30},"end":{"row":12,"column":39},"action":"insert","lines":["qtyShares"]}],[{"start":{"row":13,"column":30},"end":{"row":13,"column":41},"action":"remove","lines":["gainPercent"],"id":88},{"start":{"row":13,"column":30},"end":{"row":13,"column":41},"action":"insert","lines":["shareChange"]}],[{"start":{"row":14,"column":30},"end":{"row":14,"column":41},"action":"remove","lines":["gainPercent"],"id":89},{"start":{"row":14,"column":30},"end":{"row":14,"column":39},"action":"insert","lines":["totalCost"]}],[{"start":{"row":15,"column":30},"end":{"row":15,"column":41},"action":"remove","lines":["gainPercent"],"id":90},{"start":{"row":15,"column":30},"end":{"row":15,"column":40},"action":"insert","lines":["totalValue"]}],[{"start":{"row":17,"column":0},"end":{"row":24,"column":0},"action":"remove","lines":["\tcheckPositionSummaryObject(actual.netChange, 'netChange');","\tcheckPositionSummaryObject(actual.numPositions, 'numPositions');","\tcheckPositionSummaryObject(actual.purchasePrice, 'purchasePrice');","\tcheckPositionSummaryObject(actual.qtyShares, 'qtyShares');","\tcheckPositionSummaryObject(actual.shareChange, 'shareChange');","\tcheckPositionSummaryObject(actual.totalCost, 'totalCost');","\tcheckPositionSummaryObject(actual.totalValue, 'totalValue');",""],"id":91}],[{"start":{"row":16,"column":0},"end":{"row":17,"column":0},"action":"remove","lines":["\t",""],"id":92}],[{"start":{"row":18,"column":0},"end":{"row":38,"column":0},"action":"remove","lines":["function checkPositionSummaryObject(obj, name) {","\tassert.isDefined(obj, `positionsSummary.${name} isn't defined`);","\tassert.isObject(obj, `positionsSummary.${name} isn't a object`);","\tassert.isDefined(obj.value, `${name}.value isn't defined`);","\tassert.isNumber(obj.value, `${name}.value isn't a number`);","\tassert.isDefined(obj.formattedValue, `${name}.formattedValue isn't defined`);","\tassert.isNumber(obj.formattedValue, `${name}.formattedValue isn't a number`);","\tassert.isDefined(obj.formatted, `${name}.formatted isn't defined`);","\tassert.isString(obj.formatted, `${name}.formatted isn't a string`);","\tassert.isDefined(obj.roundedValue, `${name}.roundedValue isn't defined`);","\tassert.isNumber(obj.roundedValue, `${name}.roundedValue isn't a number`);","\tassert.isDefined(obj.rounded, `${name}.rounded isn't defined`);","\tassert.isString(obj.rounded, `${name}.rounded isn't a string`);","\tassert.isDefined(obj.minimized, `${name}.minimized isn't defined`);","\tassert.isString(obj.minimized, `${name}.minimized isn't a string`);","\tassert.isDefined(obj.denomination, `${name}.denomination isn't defined`);","\tassert.isString(obj.denomination, `${name}.denomination isn't a string`);","\tassert.isDefined(obj.full, `${name}.full isn't defined`);","\tassert.isString(obj.full, `${name}.full isn't a string`);","}",""],"id":93}],[{"start":{"row":17,"column":0},"end":{"row":19,"column":27},"action":"remove","lines":["","","module.exports = assertion;"],"id":94}],[{"start":{"row":4,"column":0},"end":{"row":6,"column":27},"action":"insert","lines":["","","module.exports = assertion;"],"id":95}],[{"start":{"row":6,"column":17},"end":{"row":6,"column":27},"action":"remove","lines":["assertion;"],"id":96}],[{"start":{"row":6,"column":26},"end":{"row":6,"column":35},"action":"remove","lines":["assertion"],"id":97}],[{"start":{"row":18,"column":1},"end":{"row":18,"column":2},"action":"insert","lines":[";"],"id":98}],[{"start":{"row":4,"column":0},"end":{"row":5,"column":0},"action":"remove","lines":["",""],"id":99}],[{"start":{"row":4,"column":0},"end":{"row":5,"column":0},"action":"remove","lines":["",""],"id":100}],[{"start":{"row":8,"column":0},"end":{"row":8,"column":1},"action":"remove","lines":["\t"],"id":101}],[{"start":{"row":0,"column":0},"end":{"row":1,"column":0},"action":"insert","lines":["",""],"id":102}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":30},"action":"insert","lines":["import { assert } from 'chai';"],"id":103}],[{"start":{"row":3,"column":0},"end":{"row":4,"column":0},"action":"remove","lines":["var assert = require('chai').assert;",""],"id":104}],[{"start":{"row":3,"column":0},"end":{"row":4,"column":0},"action":"remove","lines":["",""],"id":105}],[{"start":{"row":3,"column":0},"end":{"row":3,"column":1},"action":"insert","lines":["e"],"id":106}],[{"start":{"row":3,"column":1},"end":{"row":3,"column":2},"action":"insert","lines":["x"],"id":107}],[{"start":{"row":3,"column":2},"end":{"row":3,"column":3},"action":"insert","lines":["p"],"id":108}],[{"start":{"row":3,"column":3},"end":{"row":3,"column":4},"action":"insert","lines":["o"],"id":109}],[{"start":{"row":3,"column":4},"end":{"row":3,"column":5},"action":"insert","lines":["r"],"id":110}],[{"start":{"row":3,"column":5},"end":{"row":3,"column":6},"action":"insert","lines":["t"],"id":111}],[{"start":{"row":3,"column":6},"end":{"row":3,"column":7},"action":"insert","lines":[" "],"id":112}],[{"start":{"row":3,"column":7},"end":{"row":3,"column":8},"action":"insert","lines":["d"],"id":113}],[{"start":{"row":3,"column":8},"end":{"row":3,"column":9},"action":"insert","lines":["e"],"id":114}],[{"start":{"row":3,"column":9},"end":{"row":3,"column":10},"action":"insert","lines":["f"],"id":115}],[{"start":{"row":3,"column":10},"end":{"row":3,"column":11},"action":"insert","lines":["a"],"id":116}],[{"start":{"row":3,"column":11},"end":{"row":3,"column":12},"action":"insert","lines":["u"],"id":117}],[{"start":{"row":3,"column":12},"end":{"row":3,"column":13},"action":"insert","lines":["l"],"id":118}],[{"start":{"row":3,"column":13},"end":{"row":3,"column":14},"action":"insert","lines":["t"],"id":119}],[{"start":{"row":3,"column":14},"end":{"row":3,"column":15},"action":"insert","lines":[" "],"id":120}],[{"start":{"row":3,"column":15},"end":{"row":3,"column":16},"action":"insert","lines":["f"],"id":121}],[{"start":{"row":3,"column":16},"end":{"row":3,"column":17},"action":"insert","lines":["u"],"id":122}],[{"start":{"row":3,"column":17},"end":{"row":3,"column":18},"action":"insert","lines":["n"],"id":123}],[{"start":{"row":3,"column":18},"end":{"row":3,"column":19},"action":"insert","lines":["c"],"id":124}],[{"start":{"row":3,"column":19},"end":{"row":3,"column":20},"action":"insert","lines":["t"],"id":125}],[{"start":{"row":3,"column":20},"end":{"row":3,"column":21},"action":"insert","lines":["i"],"id":126}],[{"start":{"row":3,"column":21},"end":{"row":3,"column":22},"action":"insert","lines":["o"],"id":127}],[{"start":{"row":3,"column":22},"end":{"row":3,"column":23},"action":"insert","lines":["n"],"id":128}],[{"start":{"row":3,"column":23},"end":{"row":3,"column":24},"action":"insert","lines":[" "],"id":129}],[{"start":{"row":3,"column":24},"end":{"row":3,"column":49},"action":"remove","lines":["module.exports = function"],"id":130}],[{"start":{"row":3,"column":23},"end":{"row":3,"column":24},"action":"remove","lines":[" "],"id":131}],[{"start":{"row":3,"column":25},"end":{"row":3,"column":31},"action":"remove","lines":["actual"],"id":132},{"start":{"row":3,"column":25},"end":{"row":3,"column":26},"action":"insert","lines":["p"]}],[{"start":{"row":3,"column":26},"end":{"row":3,"column":27},"action":"insert","lines":["o"],"id":133}],[{"start":{"row":3,"column":27},"end":{"row":3,"column":28},"action":"insert","lines":["s"],"id":134}],[{"start":{"row":3,"column":28},"end":{"row":3,"column":29},"action":"insert","lines":["i"],"id":135}],[{"start":{"row":3,"column":29},"end":{"row":3,"column":30},"action":"insert","lines":["t"],"id":136}],[{"start":{"row":3,"column":30},"end":{"row":3,"column":31},"action":"insert","lines":["i"],"id":137}],[{"start":{"row":3,"column":31},"end":{"row":3,"column":32},"action":"insert","lines":["o"],"id":138}],[{"start":{"row":3,"column":32},"end":{"row":3,"column":33},"action":"insert","lines":["n"],"id":139}],[{"start":{"row":3,"column":33},"end":{"row":3,"column":34},"action":"insert","lines":["s"],"id":140}],[{"start":{"row":3,"column":34},"end":{"row":3,"column":35},"action":"insert","lines":["S"],"id":141}],[{"start":{"row":3,"column":35},"end":{"row":3,"column":36},"action":"insert","lines":["u"],"id":142}],[{"start":{"row":3,"column":36},"end":{"row":3,"column":37},"action":"insert","lines":["m"],"id":143}],[{"start":{"row":3,"column":37},"end":{"row":3,"column":38},"action":"insert","lines":["m"],"id":144}],[{"start":{"row":3,"column":38},"end":{"row":3,"column":39},"action":"insert","lines":["a"],"id":145}],[{"start":{"row":3,"column":39},"end":{"row":3,"column":40},"action":"insert","lines":["r"],"id":146}],[{"start":{"row":3,"column":40},"end":{"row":3,"column":41},"action":"insert","lines":["y"],"id":147}],[{"start":{"row":4,"column":18},"end":{"row":4,"column":24},"action":"remove","lines":["actual"],"id":148},{"start":{"row":4,"column":18},"end":{"row":4,"column":34},"action":"insert","lines":["positionsSummary"]}],[{"start":{"row":5,"column":17},"end":{"row":5,"column":23},"action":"remove","lines":["actual"],"id":149},{"start":{"row":5,"column":17},"end":{"row":5,"column":33},"action":"insert","lines":["positionsSummary"]}],[{"start":{"row":6,"column":23},"end":{"row":6,"column":29},"action":"remove","lines":["actual"],"id":150},{"start":{"row":6,"column":23},"end":{"row":6,"column":39},"action":"insert","lines":["positionsSummary"]}],[{"start":{"row":8,"column":23},"end":{"row":8,"column":29},"action":"remove","lines":["actual"],"id":151},{"start":{"row":8,"column":23},"end":{"row":8,"column":39},"action":"insert","lines":["positionsSummary"]}],[{"start":{"row":9,"column":23},"end":{"row":9,"column":29},"action":"remove","lines":["actual"],"id":152},{"start":{"row":9,"column":23},"end":{"row":9,"column":39},"action":"insert","lines":["positionsSummary"]}],[{"start":{"row":10,"column":23},"end":{"row":10,"column":29},"action":"remove","lines":["actual"],"id":153},{"start":{"row":10,"column":23},"end":{"row":10,"column":39},"action":"insert","lines":["positionsSummary"]}],[{"start":{"row":11,"column":23},"end":{"row":11,"column":29},"action":"remove","lines":["actual"],"id":154},{"start":{"row":11,"column":23},"end":{"row":11,"column":39},"action":"insert","lines":["positionsSummary"]}],[{"start":{"row":12,"column":23},"end":{"row":12,"column":29},"action":"remove","lines":["actual"],"id":155},{"start":{"row":12,"column":23},"end":{"row":12,"column":39},"action":"insert","lines":["positionsSummary"]}],[{"start":{"row":13,"column":23},"end":{"row":13,"column":29},"action":"remove","lines":["actual"],"id":156},{"start":{"row":13,"column":23},"end":{"row":13,"column":39},"action":"insert","lines":["positionsSummary"]}],[{"start":{"row":14,"column":23},"end":{"row":14,"column":29},"action":"remove","lines":["actual"],"id":157},{"start":{"row":14,"column":23},"end":{"row":14,"column":39},"action":"insert","lines":["positionsSummary"]}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":3,"column":0},"end":{"row":3,"column":44},"isBackwards":true},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1468005066624,"hash":"88613f8dbe3d9cb463b7cf64c85d43607fa005a4"} | ||
{"filter":false,"title":"positions-summary.js","tooltip":"/test/assertions/positions-summary.js","undoManager":{"mark":140,"position":140,"stack":[[{"start":{"row":0,"column":0},"end":{"row":1,"column":0},"action":"insert","lines":["",""],"id":59}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":82},"action":"insert","lines":["import assertFormattedNumber from '../../test/assertions/common/formatted-number';"],"id":60}],[{"start":{"row":0,"column":82},"end":{"row":1,"column":0},"action":"insert","lines":["",""],"id":61}],[{"start":{"row":4,"column":0},"end":{"row":17,"column":0},"action":"remove","lines":["/*","\tpositionsSummary: {","\t\tgainPercent: [Object],","\t\tnetChange: [Object],","\t\tnumPositions: [Object],","\t\tpositions: undefined/[Object],","\t\tpurchasePrice: [Object],","\t\tqtyShares: [Object],","\t\tshareChange: [Object],","\t\ttotalCost: [Object],","\t\ttotalValue: [Object]","\t}","*/",""],"id":62}],[{"start":{"row":4,"column":0},"end":{"row":5,"column":0},"action":"remove","lines":["",""],"id":63}],[{"start":{"row":7,"column":1},"end":{"row":7,"column":27},"action":"remove","lines":["checkPositionSummaryObject"],"id":64},{"start":{"row":7,"column":1},"end":{"row":7,"column":22},"action":"insert","lines":["assertFormattedNumber"]}],[{"start":{"row":7,"column":41},"end":{"row":7,"column":42},"action":"insert","lines":[")"],"id":65}],[{"start":{"row":7,"column":42},"end":{"row":7,"column":43},"action":"insert","lines":[";"],"id":66}],[{"start":{"row":7,"column":43},"end":{"row":7,"column":60},"action":"remove","lines":[", 'gainPercent');"],"id":67}],[{"start":{"row":7,"column":43},"end":{"row":8,"column":0},"action":"insert","lines":["",""],"id":68},{"start":{"row":8,"column":0},"end":{"row":8,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":8,"column":1},"end":{"row":8,"column":43},"action":"insert","lines":["assertFormattedNumber(actual.gainPercent);"],"id":69}],[{"start":{"row":8,"column":1},"end":{"row":9,"column":0},"action":"insert","lines":["",""],"id":70},{"start":{"row":9,"column":0},"end":{"row":9,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":9,"column":43},"end":{"row":10,"column":0},"action":"insert","lines":["",""],"id":71},{"start":{"row":10,"column":0},"end":{"row":10,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":10,"column":1},"end":{"row":10,"column":43},"action":"insert","lines":["assertFormattedNumber(actual.gainPercent);"],"id":72}],[{"start":{"row":10,"column":43},"end":{"row":11,"column":0},"action":"insert","lines":["",""],"id":73},{"start":{"row":11,"column":0},"end":{"row":11,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":11,"column":1},"end":{"row":11,"column":43},"action":"insert","lines":["assertFormattedNumber(actual.gainPercent);"],"id":74}],[{"start":{"row":11,"column":43},"end":{"row":12,"column":0},"action":"insert","lines":["",""],"id":75},{"start":{"row":12,"column":0},"end":{"row":12,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":12,"column":1},"end":{"row":12,"column":43},"action":"insert","lines":["assertFormattedNumber(actual.gainPercent);"],"id":76}],[{"start":{"row":12,"column":43},"end":{"row":13,"column":0},"action":"insert","lines":["",""],"id":77},{"start":{"row":13,"column":0},"end":{"row":13,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":13,"column":1},"end":{"row":13,"column":43},"action":"insert","lines":["assertFormattedNumber(actual.gainPercent);"],"id":78}],[{"start":{"row":13,"column":43},"end":{"row":14,"column":0},"action":"insert","lines":["",""],"id":79},{"start":{"row":14,"column":0},"end":{"row":14,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":14,"column":1},"end":{"row":14,"column":43},"action":"insert","lines":["assertFormattedNumber(actual.gainPercent);"],"id":80}],[{"start":{"row":14,"column":43},"end":{"row":15,"column":0},"action":"insert","lines":["",""],"id":81},{"start":{"row":15,"column":0},"end":{"row":15,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":15,"column":1},"end":{"row":15,"column":43},"action":"insert","lines":["assertFormattedNumber(actual.gainPercent);"],"id":82}],[{"start":{"row":15,"column":43},"end":{"row":16,"column":0},"action":"insert","lines":["",""],"id":83},{"start":{"row":16,"column":0},"end":{"row":16,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":9,"column":30},"end":{"row":9,"column":41},"action":"remove","lines":["gainPercent"],"id":84},{"start":{"row":9,"column":30},"end":{"row":9,"column":39},"action":"insert","lines":["netChange"]}],[{"start":{"row":10,"column":30},"end":{"row":10,"column":41},"action":"remove","lines":["gainPercent"],"id":85},{"start":{"row":10,"column":30},"end":{"row":10,"column":42},"action":"insert","lines":["numPositions"]}],[{"start":{"row":11,"column":30},"end":{"row":11,"column":41},"action":"remove","lines":["gainPercent"],"id":86},{"start":{"row":11,"column":30},"end":{"row":11,"column":43},"action":"insert","lines":["purchasePrice"]}],[{"start":{"row":12,"column":30},"end":{"row":12,"column":41},"action":"remove","lines":["gainPercent"],"id":87},{"start":{"row":12,"column":30},"end":{"row":12,"column":39},"action":"insert","lines":["qtyShares"]}],[{"start":{"row":13,"column":30},"end":{"row":13,"column":41},"action":"remove","lines":["gainPercent"],"id":88},{"start":{"row":13,"column":30},"end":{"row":13,"column":41},"action":"insert","lines":["shareChange"]}],[{"start":{"row":14,"column":30},"end":{"row":14,"column":41},"action":"remove","lines":["gainPercent"],"id":89},{"start":{"row":14,"column":30},"end":{"row":14,"column":39},"action":"insert","lines":["totalCost"]}],[{"start":{"row":15,"column":30},"end":{"row":15,"column":41},"action":"remove","lines":["gainPercent"],"id":90},{"start":{"row":15,"column":30},"end":{"row":15,"column":40},"action":"insert","lines":["totalValue"]}],[{"start":{"row":17,"column":0},"end":{"row":24,"column":0},"action":"remove","lines":["\tcheckPositionSummaryObject(actual.netChange, 'netChange');","\tcheckPositionSummaryObject(actual.numPositions, 'numPositions');","\tcheckPositionSummaryObject(actual.purchasePrice, 'purchasePrice');","\tcheckPositionSummaryObject(actual.qtyShares, 'qtyShares');","\tcheckPositionSummaryObject(actual.shareChange, 'shareChange');","\tcheckPositionSummaryObject(actual.totalCost, 'totalCost');","\tcheckPositionSummaryObject(actual.totalValue, 'totalValue');",""],"id":91}],[{"start":{"row":16,"column":0},"end":{"row":17,"column":0},"action":"remove","lines":["\t",""],"id":92}],[{"start":{"row":18,"column":0},"end":{"row":38,"column":0},"action":"remove","lines":["function checkPositionSummaryObject(obj, name) {","\tassert.isDefined(obj, `positionsSummary.${name} isn't defined`);","\tassert.isObject(obj, `positionsSummary.${name} isn't a object`);","\tassert.isDefined(obj.value, `${name}.value isn't defined`);","\tassert.isNumber(obj.value, `${name}.value isn't a number`);","\tassert.isDefined(obj.formattedValue, `${name}.formattedValue isn't defined`);","\tassert.isNumber(obj.formattedValue, `${name}.formattedValue isn't a number`);","\tassert.isDefined(obj.formatted, `${name}.formatted isn't defined`);","\tassert.isString(obj.formatted, `${name}.formatted isn't a string`);","\tassert.isDefined(obj.roundedValue, `${name}.roundedValue isn't defined`);","\tassert.isNumber(obj.roundedValue, `${name}.roundedValue isn't a number`);","\tassert.isDefined(obj.rounded, `${name}.rounded isn't defined`);","\tassert.isString(obj.rounded, `${name}.rounded isn't a string`);","\tassert.isDefined(obj.minimized, `${name}.minimized isn't defined`);","\tassert.isString(obj.minimized, `${name}.minimized isn't a string`);","\tassert.isDefined(obj.denomination, `${name}.denomination isn't defined`);","\tassert.isString(obj.denomination, `${name}.denomination isn't a string`);","\tassert.isDefined(obj.full, `${name}.full isn't defined`);","\tassert.isString(obj.full, `${name}.full isn't a string`);","}",""],"id":93}],[{"start":{"row":17,"column":0},"end":{"row":19,"column":27},"action":"remove","lines":["","","module.exports = assertion;"],"id":94}],[{"start":{"row":4,"column":0},"end":{"row":6,"column":27},"action":"insert","lines":["","","module.exports = assertion;"],"id":95}],[{"start":{"row":6,"column":17},"end":{"row":6,"column":27},"action":"remove","lines":["assertion;"],"id":96}],[{"start":{"row":6,"column":26},"end":{"row":6,"column":35},"action":"remove","lines":["assertion"],"id":97}],[{"start":{"row":18,"column":1},"end":{"row":18,"column":2},"action":"insert","lines":[";"],"id":98}],[{"start":{"row":4,"column":0},"end":{"row":5,"column":0},"action":"remove","lines":["",""],"id":99}],[{"start":{"row":4,"column":0},"end":{"row":5,"column":0},"action":"remove","lines":["",""],"id":100}],[{"start":{"row":8,"column":0},"end":{"row":8,"column":1},"action":"remove","lines":["\t"],"id":101}],[{"start":{"row":0,"column":0},"end":{"row":1,"column":0},"action":"insert","lines":["",""],"id":102}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":30},"action":"insert","lines":["import { assert } from 'chai';"],"id":103}],[{"start":{"row":3,"column":0},"end":{"row":4,"column":0},"action":"remove","lines":["var assert = require('chai').assert;",""],"id":104}],[{"start":{"row":3,"column":0},"end":{"row":4,"column":0},"action":"remove","lines":["",""],"id":105}],[{"start":{"row":3,"column":0},"end":{"row":3,"column":1},"action":"insert","lines":["e"],"id":106}],[{"start":{"row":3,"column":1},"end":{"row":3,"column":2},"action":"insert","lines":["x"],"id":107}],[{"start":{"row":3,"column":2},"end":{"row":3,"column":3},"action":"insert","lines":["p"],"id":108}],[{"start":{"row":3,"column":3},"end":{"row":3,"column":4},"action":"insert","lines":["o"],"id":109}],[{"start":{"row":3,"column":4},"end":{"row":3,"column":5},"action":"insert","lines":["r"],"id":110}],[{"start":{"row":3,"column":5},"end":{"row":3,"column":6},"action":"insert","lines":["t"],"id":111}],[{"start":{"row":3,"column":6},"end":{"row":3,"column":7},"action":"insert","lines":[" "],"id":112}],[{"start":{"row":3,"column":7},"end":{"row":3,"column":8},"action":"insert","lines":["d"],"id":113}],[{"start":{"row":3,"column":8},"end":{"row":3,"column":9},"action":"insert","lines":["e"],"id":114}],[{"start":{"row":3,"column":9},"end":{"row":3,"column":10},"action":"insert","lines":["f"],"id":115}],[{"start":{"row":3,"column":10},"end":{"row":3,"column":11},"action":"insert","lines":["a"],"id":116}],[{"start":{"row":3,"column":11},"end":{"row":3,"column":12},"action":"insert","lines":["u"],"id":117}],[{"start":{"row":3,"column":12},"end":{"row":3,"column":13},"action":"insert","lines":["l"],"id":118}],[{"start":{"row":3,"column":13},"end":{"row":3,"column":14},"action":"insert","lines":["t"],"id":119}],[{"start":{"row":3,"column":14},"end":{"row":3,"column":15},"action":"insert","lines":[" "],"id":120}],[{"start":{"row":3,"column":15},"end":{"row":3,"column":16},"action":"insert","lines":["f"],"id":121}],[{"start":{"row":3,"column":16},"end":{"row":3,"column":17},"action":"insert","lines":["u"],"id":122}],[{"start":{"row":3,"column":17},"end":{"row":3,"column":18},"action":"insert","lines":["n"],"id":123}],[{"start":{"row":3,"column":18},"end":{"row":3,"column":19},"action":"insert","lines":["c"],"id":124}],[{"start":{"row":3,"column":19},"end":{"row":3,"column":20},"action":"insert","lines":["t"],"id":125}],[{"start":{"row":3,"column":20},"end":{"row":3,"column":21},"action":"insert","lines":["i"],"id":126}],[{"start":{"row":3,"column":21},"end":{"row":3,"column":22},"action":"insert","lines":["o"],"id":127}],[{"start":{"row":3,"column":22},"end":{"row":3,"column":23},"action":"insert","lines":["n"],"id":128}],[{"start":{"row":3,"column":23},"end":{"row":3,"column":24},"action":"insert","lines":[" "],"id":129}],[{"start":{"row":3,"column":24},"end":{"row":3,"column":49},"action":"remove","lines":["module.exports = function"],"id":130}],[{"start":{"row":3,"column":23},"end":{"row":3,"column":24},"action":"remove","lines":[" "],"id":131}],[{"start":{"row":3,"column":25},"end":{"row":3,"column":31},"action":"remove","lines":["actual"],"id":132},{"start":{"row":3,"column":25},"end":{"row":3,"column":26},"action":"insert","lines":["p"]}],[{"start":{"row":3,"column":26},"end":{"row":3,"column":27},"action":"insert","lines":["o"],"id":133}],[{"start":{"row":3,"column":27},"end":{"row":3,"column":28},"action":"insert","lines":["s"],"id":134}],[{"start":{"row":3,"column":28},"end":{"row":3,"column":29},"action":"insert","lines":["i"],"id":135}],[{"start":{"row":3,"column":29},"end":{"row":3,"column":30},"action":"insert","lines":["t"],"id":136}],[{"start":{"row":3,"column":30},"end":{"row":3,"column":31},"action":"insert","lines":["i"],"id":137}],[{"start":{"row":3,"column":31},"end":{"row":3,"column":32},"action":"insert","lines":["o"],"id":138}],[{"start":{"row":3,"column":32},"end":{"row":3,"column":33},"action":"insert","lines":["n"],"id":139}],[{"start":{"row":3,"column":33},"end":{"row":3,"column":34},"action":"insert","lines":["s"],"id":140}],[{"start":{"row":3,"column":34},"end":{"row":3,"column":35},"action":"insert","lines":["S"],"id":141}],[{"start":{"row":3,"column":35},"end":{"row":3,"column":36},"action":"insert","lines":["u"],"id":142}],[{"start":{"row":3,"column":36},"end":{"row":3,"column":37},"action":"insert","lines":["m"],"id":143}],[{"start":{"row":3,"column":37},"end":{"row":3,"column":38},"action":"insert","lines":["m"],"id":144}],[{"start":{"row":3,"column":38},"end":{"row":3,"column":39},"action":"insert","lines":["a"],"id":145}],[{"start":{"row":3,"column":39},"end":{"row":3,"column":40},"action":"insert","lines":["r"],"id":146}],[{"start":{"row":3,"column":40},"end":{"row":3,"column":41},"action":"insert","lines":["y"],"id":147}],[{"start":{"row":4,"column":18},"end":{"row":4,"column":24},"action":"remove","lines":["actual"],"id":148},{"start":{"row":4,"column":18},"end":{"row":4,"column":34},"action":"insert","lines":["positionsSummary"]}],[{"start":{"row":5,"column":17},"end":{"row":5,"column":23},"action":"remove","lines":["actual"],"id":149},{"start":{"row":5,"column":17},"end":{"row":5,"column":33},"action":"insert","lines":["positionsSummary"]}],[{"start":{"row":6,"column":23},"end":{"row":6,"column":29},"action":"remove","lines":["actual"],"id":150},{"start":{"row":6,"column":23},"end":{"row":6,"column":39},"action":"insert","lines":["positionsSummary"]}],[{"start":{"row":8,"column":23},"end":{"row":8,"column":29},"action":"remove","lines":["actual"],"id":151},{"start":{"row":8,"column":23},"end":{"row":8,"column":39},"action":"insert","lines":["positionsSummary"]}],[{"start":{"row":9,"column":23},"end":{"row":9,"column":29},"action":"remove","lines":["actual"],"id":152},{"start":{"row":9,"column":23},"end":{"row":9,"column":39},"action":"insert","lines":["positionsSummary"]}],[{"start":{"row":10,"column":23},"end":{"row":10,"column":29},"action":"remove","lines":["actual"],"id":153},{"start":{"row":10,"column":23},"end":{"row":10,"column":39},"action":"insert","lines":["positionsSummary"]}],[{"start":{"row":11,"column":23},"end":{"row":11,"column":29},"action":"remove","lines":["actual"],"id":154},{"start":{"row":11,"column":23},"end":{"row":11,"column":39},"action":"insert","lines":["positionsSummary"]}],[{"start":{"row":12,"column":23},"end":{"row":12,"column":29},"action":"remove","lines":["actual"],"id":155},{"start":{"row":12,"column":23},"end":{"row":12,"column":39},"action":"insert","lines":["positionsSummary"]}],[{"start":{"row":13,"column":23},"end":{"row":13,"column":29},"action":"remove","lines":["actual"],"id":156},{"start":{"row":13,"column":23},"end":{"row":13,"column":39},"action":"insert","lines":["positionsSummary"]}],[{"start":{"row":14,"column":23},"end":{"row":14,"column":29},"action":"remove","lines":["actual"],"id":157},{"start":{"row":14,"column":23},"end":{"row":14,"column":39},"action":"insert","lines":["positionsSummary"]}],[{"start":{"row":8,"column":40},"end":{"row":8,"column":49},"action":"remove","lines":["netChange"],"id":160},{"start":{"row":8,"column":40},"end":{"row":8,"column":49},"action":"insert","lines":["netChange"]}],[{"start":{"row":8,"column":49},"end":{"row":8,"column":50},"action":"insert","lines":[","],"id":161}],[{"start":{"row":8,"column":50},"end":{"row":8,"column":51},"action":"insert","lines":[" "],"id":162}],[{"start":{"row":8,"column":51},"end":{"row":8,"column":52},"action":"insert","lines":["'"],"id":163}],[{"start":{"row":8,"column":52},"end":{"row":8,"column":61},"action":"insert","lines":["netChange"],"id":164}],[{"start":{"row":8,"column":61},"end":{"row":8,"column":62},"action":"insert","lines":["'"],"id":165}],[{"start":{"row":9,"column":40},"end":{"row":9,"column":52},"action":"remove","lines":["numPositions"],"id":166},{"start":{"row":9,"column":40},"end":{"row":9,"column":52},"action":"insert","lines":["numPositions"]}],[{"start":{"row":9,"column":52},"end":{"row":9,"column":53},"action":"insert","lines":[","],"id":167}],[{"start":{"row":9,"column":53},"end":{"row":9,"column":54},"action":"insert","lines":[" "],"id":168}],[{"start":{"row":9,"column":54},"end":{"row":9,"column":55},"action":"insert","lines":["'"],"id":170}],[{"start":{"row":9,"column":55},"end":{"row":9,"column":67},"action":"insert","lines":["numPositions"],"id":171}],[{"start":{"row":9,"column":67},"end":{"row":9,"column":68},"action":"insert","lines":["'"],"id":172}],[{"start":{"row":10,"column":40},"end":{"row":10,"column":53},"action":"remove","lines":["purchasePrice"],"id":173},{"start":{"row":10,"column":40},"end":{"row":10,"column":53},"action":"insert","lines":["purchasePrice"]}],[{"start":{"row":10,"column":53},"end":{"row":10,"column":54},"action":"insert","lines":[","],"id":174}],[{"start":{"row":10,"column":54},"end":{"row":10,"column":55},"action":"insert","lines":[" "],"id":175}],[{"start":{"row":10,"column":55},"end":{"row":10,"column":56},"action":"insert","lines":["'"],"id":176}],[{"start":{"row":10,"column":56},"end":{"row":10,"column":69},"action":"insert","lines":["purchasePrice"],"id":177}],[{"start":{"row":10,"column":69},"end":{"row":10,"column":70},"action":"insert","lines":["'"],"id":178}],[{"start":{"row":11,"column":40},"end":{"row":11,"column":49},"action":"remove","lines":["qtyShares"],"id":179},{"start":{"row":11,"column":40},"end":{"row":11,"column":49},"action":"insert","lines":["qtyShares"]}],[{"start":{"row":11,"column":49},"end":{"row":11,"column":50},"action":"insert","lines":[","],"id":180}],[{"start":{"row":11,"column":50},"end":{"row":11,"column":51},"action":"insert","lines":[" "],"id":181}],[{"start":{"row":11,"column":51},"end":{"row":11,"column":52},"action":"insert","lines":["'"],"id":182}],[{"start":{"row":11,"column":52},"end":{"row":11,"column":61},"action":"insert","lines":["qtyShares"],"id":183}],[{"start":{"row":11,"column":61},"end":{"row":11,"column":62},"action":"insert","lines":["'"],"id":184}],[{"start":{"row":12,"column":40},"end":{"row":12,"column":51},"action":"remove","lines":["shareChange"],"id":185},{"start":{"row":12,"column":40},"end":{"row":12,"column":51},"action":"insert","lines":["shareChange"]}],[{"start":{"row":12,"column":51},"end":{"row":12,"column":52},"action":"insert","lines":[","],"id":186}],[{"start":{"row":12,"column":52},"end":{"row":12,"column":53},"action":"insert","lines":[" "],"id":187}],[{"start":{"row":12,"column":53},"end":{"row":12,"column":54},"action":"insert","lines":["'"],"id":188}],[{"start":{"row":12,"column":54},"end":{"row":12,"column":65},"action":"insert","lines":["shareChange"],"id":189}],[{"start":{"row":12,"column":65},"end":{"row":12,"column":66},"action":"insert","lines":["'"],"id":190}],[{"start":{"row":13,"column":40},"end":{"row":13,"column":49},"action":"remove","lines":["totalCost"],"id":191},{"start":{"row":13,"column":40},"end":{"row":13,"column":49},"action":"insert","lines":["totalCost"]}],[{"start":{"row":13,"column":49},"end":{"row":13,"column":50},"action":"insert","lines":[","],"id":192}],[{"start":{"row":13,"column":50},"end":{"row":13,"column":51},"action":"insert","lines":[" "],"id":193}],[{"start":{"row":13,"column":51},"end":{"row":13,"column":52},"action":"insert","lines":["'"],"id":194}],[{"start":{"row":13,"column":52},"end":{"row":13,"column":61},"action":"insert","lines":["totalCost"],"id":195}],[{"start":{"row":13,"column":61},"end":{"row":13,"column":62},"action":"insert","lines":["'"],"id":196}],[{"start":{"row":14,"column":40},"end":{"row":14,"column":50},"action":"remove","lines":["totalValue"],"id":197},{"start":{"row":14,"column":40},"end":{"row":14,"column":50},"action":"insert","lines":["totalValue"]}],[{"start":{"row":14,"column":50},"end":{"row":14,"column":51},"action":"insert","lines":[","],"id":198}],[{"start":{"row":14,"column":51},"end":{"row":14,"column":52},"action":"insert","lines":[" "],"id":199}],[{"start":{"row":14,"column":52},"end":{"row":14,"column":53},"action":"insert","lines":["'"],"id":200}],[{"start":{"row":14,"column":53},"end":{"row":14,"column":63},"action":"insert","lines":["totalValue"],"id":201}],[{"start":{"row":14,"column":63},"end":{"row":14,"column":64},"action":"insert","lines":["'"],"id":202}],[{"start":{"row":8,"column":39},"end":{"row":8,"column":40},"action":"remove","lines":["."],"id":204}],[{"start":{"row":8,"column":40},"end":{"row":8,"column":49},"action":"remove","lines":["netChange"],"id":203}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":13,"column":64},"end":{"row":13,"column":64},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1468011718319,"hash":"2d7f7258ae1ba85413520fd6d841ab5949e1ac71"} |
@@ -1,1 +0,1 @@ | ||
{"filter":false,"title":"transactions.js","tooltip":"/test/assertions/transactions.js","undoManager":{"mark":-1,"position":-1,"stack":[]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":0,"column":0},"end":{"row":0,"column":0},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1468003990744,"hash":"0ce7d259d70aa62e302d8e5665fd4039af011ad0"} | ||
{"filter":false,"title":"transactions.js","tooltip":"/test/assertions/transactions.js","undoManager":{"mark":-1,"position":-1,"stack":[]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":0,"column":0},"end":{"row":0,"column":0},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1466184228093,"hash":"0ce7d259d70aa62e302d8e5665fd4039af011ad0"} |
{ | ||
"name": "augur-ui-react-components", | ||
"version": "3.0.7", | ||
"version": "3.0.8", | ||
"description": "Augur UI React Components", | ||
@@ -5,0 +5,0 @@ "author": "Baz (@thinkloop)", |
import { assert } from 'chai'; | ||
export default function (formattedNumber, label = 'formatted number') { | ||
assert.isDefined(formattedNumber, `${label} doesn't exist`); | ||
assert.isObject(formattedNumber, `${label} isn't an object`); | ||
assert.isDefined(formattedNumber.value, `${label} 'value' isn't defined`); | ||
assert.isNumber(formattedNumber.value, `${label} 'value' isn't a number`); | ||
assert.isDefined(formattedNumber.formattedValue, `${label} formattedValue isn't defined`); | ||
assert.isNumber(formattedNumber.formattedValue, `${label} formattedValue isn't a number`); | ||
assert.isDefined(formattedNumber.formatted, `${label} 'formatted' isn't defined`); | ||
assert.isString(formattedNumber.formatted, `${label} 'formatted' isn't a string`); | ||
assert.isDefined(formattedNumber.roundedValue, `${label} 'roundedValue' isn't defined`); | ||
assert.isNumber(formattedNumber.roundedValue, `${label} 'roundedValue' isn't a number`); | ||
assert.isDefined(formattedNumber.rounded, `${label} 'rounded' isn't defined`); | ||
assert.isString(formattedNumber.rounded, `${label} 'rounded' isn't a string`); | ||
assert.isDefined(formattedNumber.minimized, `${label} 'minimized' isn't defined`); | ||
assert.isString(formattedNumber.minimized, `${label} 'minimized' isn't a string`); | ||
assert.isDefined(formattedNumber.denomination, `${label} 'denomination' isn't defined`); | ||
assert.isString(formattedNumber.denomination, `${label} 'denomination' isn't a String`); | ||
assert.isDefined(formattedNumber.full, `${label} 'full' isn't defined`); | ||
assert.isString(formattedNumber.full, `${label} 'full' isn't a string`); | ||
} | ||
export default function (actual, label = 'Formatted number') { | ||
describe(label, () => { | ||
describe('value', () => { | ||
it('should exist', () => { | ||
assert.isDefined(actual.value, `'value' isn't defined`); | ||
}); | ||
it('should be a number', () => { | ||
assert.isNumber(actual.value, `'value' isn't a number`); | ||
}); | ||
}); | ||
describe('formattedValue', () => { | ||
it('should exist', () => { | ||
assert.isDefined(actual.formattedValue, `'formattedValue' isn't defined`); | ||
}); | ||
it('should be a number', () => { | ||
assert.isNumber(actual.formattedValue, `'formattedValue' isn't a number`); | ||
}); | ||
}); | ||
describe('formatted', () => { | ||
it('should exist', () => { | ||
assert.isDefined(actual.formatted, `'formatted' isn't defined`); | ||
}); | ||
it('should be a string', () => { | ||
assert.isString(actual.formatted, `'formatted' isn't a string`); | ||
}); | ||
}); | ||
describe('roundedValue', () => { | ||
it('should exist', () => { | ||
assert.isDefined(actual.roundedValue, `'roundedValue' isn't defined`); | ||
}); | ||
it('should be a number', () => { | ||
assert.isNumber(actual.roundedValue, `'roundedValue' isn't a number`); | ||
}); | ||
}); | ||
describe('rounded', () => { | ||
it('should exist', () => { | ||
assert.isDefined(actual.rounded, `'rounded' isn't defined`); | ||
}); | ||
it('should be a string', () => { | ||
assert.isString(actual.rounded, `'rounded' isn't a string`); | ||
}); | ||
}); | ||
describe('minimized', () => { | ||
it('should exist', () => { | ||
assert.isDefined(actual.minimized, `'minimized' isn't defined`); | ||
}); | ||
it('should be a string', () => { | ||
assert.isString(actual.minimized, `'minimized' isn't a string`); | ||
}); | ||
}); | ||
describe('denomination', () => { | ||
it('should exist', () => { | ||
assert.isDefined(actual.denomination, `'denomination' isn't defined`); | ||
}); | ||
it('should be a string', () => { | ||
assert.isString(actual.denomination, `'denomination' isn't a String`); | ||
}); | ||
}); | ||
describe('full', () => { | ||
it('should exist', () => { | ||
assert.isDefined(actual.full, `'full' isn't defined`); | ||
}); | ||
it('should be a string', () => { | ||
assert.isString(actual.full, `'full' isn't a string`); | ||
}); | ||
}); | ||
}); | ||
}; |
@@ -9,10 +9,10 @@ import { assert } from 'chai'; | ||
assertFormattedNumber(positionsSummary.netChange); | ||
assertFormattedNumber(positionsSummary.numPositions); | ||
assertFormattedNumber(positionsSummary.purchasePrice); | ||
assertFormattedNumber(positionsSummary.qtyShares); | ||
assertFormattedNumber(positionsSummary.shareChange); | ||
assertFormattedNumber(positionsSummary.totalCost); | ||
assertFormattedNumber(positionsSummary.totalValue); | ||
assertFormattedNumber(positionsSummary.netChange, 'netChange'); | ||
assertFormattedNumber(positionsSummary.numPositions, 'numPositions'); | ||
assertFormattedNumber(positionsSummary.purchasePrice, 'purchasePrice'); | ||
assertFormattedNumber(positionsSummary.qtyShares, 'qtyShares'); | ||
assertFormattedNumber(positionsSummary.shareChange, 'shareChange'); | ||
assertFormattedNumber(positionsSummary.totalCost, 'totalCost'); | ||
assertFormattedNumber(positionsSummary.totalValue, 'totalValue'); | ||
}; | ||
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1850394
275
7649