mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
* fix(admin): update test files predeploy * fix(admin): update test files predeploy * fix(admin): update test files predeploy
22 lines
531 B
Plaintext
22 lines
531 B
Plaintext
// import GlobalDirectives from './globalDirectives'
|
|
// import { focus } from 'vue-focus'
|
|
// import Vue from 'vue'
|
|
//
|
|
// jest.mock('vue-focus', () => {
|
|
// return {
|
|
// __esModule: true,
|
|
// focus: jest.fn(),
|
|
// }
|
|
// })
|
|
// jest.mock('vue')
|
|
//
|
|
// const vueDirectiveMock = jest.fn()
|
|
// Vue.directive = vueDirectiveMock
|
|
//
|
|
// describe('globalDirectives', () => {
|
|
// it('installs the focus directive', () => {
|
|
// GlobalDirectives.install(Vue)
|
|
// expect(vueDirectiveMock).toBeCalledWith('focus', focus)
|
|
// })
|
|
// })
|