Nuxt/packages/cli/test/utils/index.js

15 lines
281 B
JavaScript
Raw Normal View History

import path from 'path'
import consola from 'consola'
export * from './mocking'
export { NuxtCommand } from '../../src'
2018-11-08 09:15:56 +00:00
consola.mockTypes(() => jest.fn())
const localPath = modulePath => path.resolve(process.cwd(), 'node_modules', modulePath)
export {
consola,
localPath
}