---
id: 5a24c314108439a4d403614d
title: Define a Redux Action
challengeType: 6
isRequired: false
videoUrl: ''
localeTitle: Определение действия Redux
---

## Description
undefined

## Instructions
<section id="instructions"> Написание действия Redux так же просто, как объявление объекта с свойством type. Объявите объект <code>action</code> и придать ему свойство <code>type</code> установлен в строке <code>&#39;LOGIN&#39;</code> . </section>

## Tests
<section id='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 <code>LOGIN</code>.");'

```

</section>

## Challenge Seed
<section id='challengeSeed'>

<div id='jsx-seed'>

```jsx
// Define an action here:

```

</div>



</section>

## Solution
<section id='solution'>

```js
// solution required
```
</section>
