mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
432720b8c8
* fix: appveyor test failure * ci: bring back yarn cache * ci: turn off matrix * refactor: use babel instead of esm in jest * refactor: use es modules in fixtures
14 lines
448 B
JavaScript
14 lines
448 B
JavaScript
import consola from 'consola'
|
|
import { buildFixture } from '../../utils/build'
|
|
|
|
describe('with-config', () => {
|
|
buildFixture('with-config', () => {
|
|
expect(consola.warn).toHaveBeenCalledTimes(1)
|
|
expect(consola.warn.mock.calls[0]).toMatchObject([{
|
|
message: 'Found 2 plugins that match the configuration, suggest to specify extension:',
|
|
additional: expect.stringContaining('plugins/test.json'),
|
|
badge: true
|
|
}])
|
|
})
|
|
})
|