Passed
Pull Request — master (#114)
by Huu-Phat
04:15
created

cms/src/core/state/drawer/__tests__/action.spec.js   A

Complexity

Total Complexity 3
Complexity/F 1

Size

Lines of Code 11
Function Count 3

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 3
eloc 6
mnd 0
bc 0
fnc 3
dl 0
loc 11
rs 10
bpm 0
cpm 1
noi 0
c 0
b 0
f 0
1
import { openDrawer, closeDrawer } from '../actions'
2
3
describe('drawer actions', () => {
4
  it('should return action with open drawer', function() {
5
    expect(openDrawer()).toMatchSnapshot()
6
  })
7
8
  it('should return action with close drawer', function() {
9
    expect(closeDrawer()).toMatchSnapshot()
10
  })
11
})
12