One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
if git diff-tree --name-only --no-commit-id ORIG_HEAD HEAD | grep --quiet 'package.json'; then | |
echo "$(date): Running npm install because package.json changed" | |
npm install > /dev/null | |
else | |
echo "$(date): No changes in package.json found" | |
fi | |
# ln -fv ./post-merge .git/hooks/ |
I hereby claim:
To claim this, I am signing this object:
import { spy } from 'sinon'; | |
import { shallow } from 'enzyme'; | |
// Utility method to asynchronously wait for component's willMount function to | |
// complete. Requires the componentWillMount method *returns* its async promise | |
// to wait for | |
export const willMount = async unmountedComponent => { | |
// Spy on the willmount method | |
const lifecycleMethod = spy(unmountedComponent.type.prototype, 'componentWillMount'); | |
const wrapper = shallow(unmountedComponent); |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition: