2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-23 06:50:35 +03:00

refactor: move utils to utils folder

This commit is contained in:
pimlie
2019-03-10 12:17:42 +01:00
committed by Alexander Lichter
parent 4c967b0b4b
commit 6405724881
21 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import Changed from '../components/changed.vue'
const getMetaInfo = component => _getMetaInfo(defaultOptions, component)
jest.mock('../../src/shared/window', () => ({
jest.mock('../../src/utils/window', () => ({
hasGlobalWindow: false
}))
+2 -2
View File
@@ -1,10 +1,10 @@
/**
* @jest-environment node
*/
import { ensureIsArray } from '../../src/shared/ensure'
import setOptions from '../../src/shared/options'
import { hasGlobalWindowFn } from '../../src/shared/window'
import { defaultOptions } from '../../src/shared/constants'
import { ensureIsArray } from '../../src/utils/ensure'
import { hasGlobalWindowFn } from '../../src/utils/window'
describe('shared', () => {
test('ensureIsArray ensures var is array', () => {