Nuxt/packages/generator/test/index.test.js

12 lines
231 B
JavaScript
Raw Normal View History

2019-01-29 10:16:45 +00:00
import { Generator } from '../src'
jest.mock('../src/generator', () => ({
generator: true
}))
describe('generator: entry', () => {
test('should export Generator', () => {
expect(Generator.generator).toEqual(true)
})
})