mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
15 lines
312 B
JavaScript
15 lines
312 B
JavaScript
import test from 'ava'
|
|
const Nuxt = require('../')
|
|
const nuxt = new Nuxt()
|
|
|
|
test('Nuxt.js Class', (t) => {
|
|
t.is(typeof Nuxt, 'function')
|
|
})
|
|
|
|
test('Nuxt.js Instance', (t) => {
|
|
t.is(typeof nuxt, 'object')
|
|
t.is(nuxt.dev, true)
|
|
t.is(typeof nuxt.build, 'function')
|
|
t.is(typeof nuxt.generate, 'function')
|
|
})
|