Completed
Push — master ( 7403a2...9afade )
by Taavo-Taur
02:16
created

test/feathers.core.test.js   A

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 10
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
c 1
b 0
f 0
nc 1
dl 0
loc 10
rs 10
wmc 2
mnd 0
bc 2
fnc 2
bpm 1
cpm 1
noi 0
1
import test from 'ava'
2
import {addVueWithPlugin, vueCleanup} from './helpers/before/vue-hookup'
3
4
test.afterEach(vueCleanup)
5
6
test('Throws error if no feathers client set', t => {
7
	t.throws(() => {
8
		addVueWithPlugin(t)
9
	}, 'No feathers instance set in options')
10
})
11