@berun/preset-fuse-box-react
Version:
BeRun preset for building React web applications with Fuse-Box
16 lines (13 loc) • 362 B
text/typescript
import { create as berunJs } from '@berun/berun'
import preset from '../src'
test('Gets Babel core configuration', () => {
const berun = berunJs(preset)
if ('babel' in berun) {
expect(berun.babel.toConfig()).toEqual({
babelrc: false,
presets: ['@berun/babel-preset-react-app'],
highlightCode: true,
compact: false
})
}
})