Skip to content

Instantly share code, notes, and snippets.

@dcmwong
Created July 19, 2018 20:49
Show Gist options
  • Save dcmwong/055338947d4212d0dda125b802e12116 to your computer and use it in GitHub Desktop.
Save dcmwong/055338947d4212d0dda125b802e12116 to your computer and use it in GitHub Desktop.
import getAction from './';
test('action -> creates Customer', () => {
const actionName = 'someAction';
const action = getAction(actionName);
expect(action).toEqual('/actions/SomeAction');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment