1.1 KiB
1.1 KiB
id | title | challengeType | isRequired | videoUrl | localeTitle |
---|---|---|---|---|---|
5a24c314108439a4d403614d | Define a Redux Action | 6 | false | Определение действия Redux |
Description
undefined
Instructions
action
и придать ему свойство type
установлен в строке 'LOGIN'
. Tests
tests:
- text: ''
testString: 'assert((function() { return typeof action === "object" })(), "An action object should exist.");'
- text: ''
testString: 'assert((function() { return action.type === "LOGIN" })(), "The action should have a key property type with value <code>LOGIN</code>.");'
Challenge Seed
// Define an action here:
Solution
// solution required