mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
3db31abb05
[release]
11 lines
292 B
JavaScript
11 lines
292 B
JavaScript
|
|
import { resolve } from 'path'
|
|
import { loadNuxtConfig } from '../src/load'
|
|
|
|
describe('config: load', () => {
|
|
test('load local nuxtrc', async () => {
|
|
const config = await loadNuxtConfig({ rootDir: resolve(__dirname, 'fixtures/nuxtrc') })
|
|
expect(config.rc.works).toBe(true)
|
|
})
|
|
})
|