Fix jasmine snippets