Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 10 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 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 |