Skip to content

Instantly share code, notes, and snippets.

@mgenov
Last active November 28, 2015 19:08
Show Gist options
  • Save mgenov/f6175c3b854bcf6066cf to your computer and use it in GitHub Desktop.
Save mgenov/f6175c3b854bcf6066cf to your computer and use it in GitHub Desktop.
Jasmine API Changes
find . -name "*.spec.js" -exec sed -i '' -e 's/andReturn/and.returnValue/g' {} \;
find . -name "*.spec.js" -exec sed -i '' -e 's/callCount/calls.count()/g' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment