Nuxt/packages/utils/test/index.test.js
2019-01-29 22:53:42 +03:30

23 lines
563 B
JavaScript

import * as Util from '../src'
import * as context from '../src/context'
import * as lang from '../src/lang'
import * as resolve from '../src/resolve'
import * as route from '../src/route'
import * as serialize from '../src/serialize'
import * as task from '../src/task'
import * as timer from '../src/timer'
describe('util: entry', () => {
test('should export all methods from utils folder', () => {
expect(Util).toEqual({
...context,
...lang,
...resolve,
...route,
...serialize,
...task,
...timer
})
})
})