GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Branch master (5d2753)
by Benjamin
17:29 queued 13:40
created

test/actions/plugins/errorhandler/ErrorHandlerActions.test.js   A

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 28
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 0
wmc 2
c 1
b 0
f 1
nc 1
mnd 0
bc 2
fnc 2
dl 0
loc 28
rs 10
bpm 1
cpm 1
noi 0
1
import expect from 'expect';
2
3
import {
4
    DISMISS_ERROR
5
} from './../../../../src/constants/ActionTypes';
6
7
import {
8
    dismissError
9
} from './../../../../src/actions/plugins/errorhandler/ErrorHandlerActions';
10
11
describe('The grid dismissError Action', () => {
12
13
    it('Should dismiss previuos errors', () => {
14
15
        const action = {
16
            type: DISMISS_ERROR,
17
            stateKey: 'test-grid'
18
        };
19
20
        expect(dismissError(action))
21
            .toEqual({
22
                type: DISMISS_ERROR,
23
                stateKey: 'test-grid'
24
            });
25
26
    });
27
28
});
29