1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-17 10:22:36 +00:00
bramw_baserow/web-frontend/test/config/config.spec.js
2019-07-10 20:33:38 +02:00

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()
})
})