mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
29 lines
728 B
JavaScript
29 lines
728 B
JavaScript
import * as Util from '../src'
|
|
import * as context from '../src/context'
|
|
import * as lang from '../src/lang'
|
|
import * as locking from '../src/locking'
|
|
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'
|
|
import * as cjs from '../src/cjs'
|
|
import * as modern from '../src/modern'
|
|
|
|
describe('util: entry', () => {
|
|
test('should export all methods from utils folder', () => {
|
|
expect(Util).toEqual({
|
|
...context,
|
|
...lang,
|
|
...locking,
|
|
...resolve,
|
|
...route,
|
|
...serialize,
|
|
...task,
|
|
...timer,
|
|
...cjs,
|
|
...modern
|
|
})
|
|
})
|
|
})
|