mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
18 lines
423 B
JavaScript
18 lines
423 B
JavaScript
|
import { Module, Nuxt, Resolver } from '../src'
|
||
|
|
||
|
jest.mock('../src/module', () => ({
|
||
|
module: true
|
||
|
})).mock('../src/nuxt', () => ({
|
||
|
nuxt: true
|
||
|
})).mock('../src/resolver', () => ({
|
||
|
resolver: true
|
||
|
}))
|
||
|
|
||
|
describe('core: entry', () => {
|
||
|
test('should export Module, Nuxt and Resolver', () => {
|
||
|
expect(Module.module).toEqual(true)
|
||
|
expect(Nuxt.nuxt).toEqual(true)
|
||
|
expect(Resolver.resolver).toEqual(true)
|
||
|
})
|
||
|
})
|