run es6 tests in karma

This commit is contained in:
Eric Hulburd
2016-03-04 17:43:39 -06:00
parent aa885f331c
commit 43a9daf94e
7 changed files with 162 additions and 48 deletions

View File

@@ -52,8 +52,9 @@ describe('house#setMonthState', ()=>{
house.setMonthState({
month: 'Mar',
year: 2015
}, [ power_min, power_max ]);
year: 2015,
power_range: [ power_min, power_max ]
});
expect(house.state.month).toEqual('Mar');
expect(house.state.year).toEqual(2015);