jasmine snippet