Skip to content

Instantly share code, notes, and snippets.

@alex-okrushko
Last active April 3, 2019 23:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alex-okrushko/506d5ac155d8e4ee2a8d6df26623791a to your computer and use it in GitHub Desktop.
Save alex-okrushko/506d5ac155d8e4ee2a8d6df26623791a to your computer and use it in GitHub Desktop.
/**
* Action to log in the User from the Login Page.
* Uses the most secure password by default.
*/
export const login = createAction(
'[Login Page] Login',
(username: string, password = 'p@ssw0rdLol') => ({username, password}),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment