Skip to content

Commit 208aa1b

Browse files
committed
refactor(vuefire): use vuefire-test-helpers
1 parent 7c7278a commit 208aa1b

File tree

4 files changed

+3
-298
lines changed

4 files changed

+3
-298
lines changed

packages/vuefire/test/bind.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Vuefire from '../src'
2-
import { db, tick, delayUpdate, Vue } from './helpers'
2+
import { db, tick, delayUpdate, Vue } from '@posva/vuefire-test-helpers'
33

44
Vue.use(Vuefire)
55

packages/vuefire/test/helpers/index.js

Lines changed: 0 additions & 55 deletions
This file was deleted.

packages/vuefire/test/helpers/mock.js

Lines changed: 0 additions & 237 deletions
This file was deleted.

packages/vuefire/test/merging.spec.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
import Vuefire from '../src'
2-
import {
3-
db,
4-
Vue
5-
} from './helpers'
2+
import { db, Vue } from '@posva/vuefire-test-helpers'
63

74
Vue.use(Vuefire)
85

@@ -65,7 +62,7 @@ test('should merge two functions', () => {
6562
})
6663

6764
test('ignores no return', () => {
68-
const spy = Vue.config.errorHandler = jest.fn()
65+
const spy = (Vue.config.errorHandler = jest.fn())
6966
new Vue({
7067
firestore: _ => {}
7168
})

0 commit comments

Comments
 (0)