mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-04-17 10:22:36 +00:00
20 lines
466 B
JavaScript
20 lines
466 B
JavaScript
import createNuxt from '@/test/helpers/create-nuxt'
|
|
|
|
let nuxt = null
|
|
|
|
describe('Config', () => {
|
|
beforeAll(async done => {
|
|
nuxt = await createNuxt(true)
|
|
done()
|
|
}, 120000)
|
|
|
|
test('Plugins', () => {
|
|
const plugins = nuxt.options.plugins.map(option => option.src)
|
|
expect(plugins.includes('@/plugins/auth.js')).toBe(true)
|
|
expect(plugins.includes('@/plugins/vuelidate.js')).toBe(true)
|
|
})
|
|
|
|
afterAll(async () => {
|
|
await nuxt.close()
|
|
})
|
|
})
|