mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-18 02:07:14 +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)
|
||
|
})
|
||
|
})
|