fix jasmine snippet