--- id: 5a24c314108439a4d403614d title: Define a Redux Action challengeType: 6 isRequired: false videoUrl: '' localeTitle: Определение действия Redux --- ## Description undefined ## Instructions
Написание действия Redux так же просто, как объявление объекта с свойством type. Объявите объект action и придать ему свойство type установлен в строке 'LOGIN' .
## Tests
```yml 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 LOGIN.");' ```
## Challenge Seed
```jsx // Define an action here: ```
## Solution
```js // solution required ```