mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
15 lines
331 B
JavaScript
15 lines
331 B
JavaScript
import { Server, Listener } from '../src'
|
|
|
|
jest.mock('../src/server', () => ({
|
|
server: true
|
|
})).mock('../src/listener', () => ({
|
|
listener: true
|
|
}))
|
|
|
|
describe('server: entry', () => {
|
|
test('should export Server and Listener', () => {
|
|
expect(Server.server).toEqual(true)
|
|
expect(Listener.listener).toEqual(true)
|
|
})
|
|
})
|