Total Complexity | 4 |
Complexity/F | 1 |
Lines of Code | 23 |
Function Count | 4 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import React, { Component } from 'react'; |
||
2 | import { createStore } from 'redux'; |
||
3 | import reducer from '../src/module'; |
||
4 | |||
5 | export class Container extends Component { |
||
6 | static fetchData() { |
||
7 | return Promise.resolve('done'); |
||
8 | } |
||
9 | render() { |
||
10 | return <div/>; |
||
11 | } |
||
12 | } |
||
13 | |||
14 | export class Dummy extends Component { |
||
15 | render() { |
||
16 | return <div/>; |
||
17 | } |
||
18 | } |
||
19 | |||
20 | export function makeStore(initialState) { |
||
21 | return createStore(reducer, initialState); |
||
22 | } |
||
23 |