1
1
mirror of https://github.com/c8r/x0.git synced 2024-08-17 01:10:32 +03:00

Adjust tests

This commit is contained in:
Brent Jackson 2018-06-22 14:02:34 -04:00
parent 453b0f8b2f
commit af74a3ddae
2 changed files with 2 additions and 1 deletions

View File

@ -261,6 +261,7 @@ export default class Layout extends React.Component {
const { menu, update } = this.state
const opts = route ? route.props : {}
if (opts.layout === false) return children
const Wrapper = opts.fullWidth
? React.Fragment
: MaxWidth

View File

@ -21,7 +21,7 @@ import {
browserEnv()
// make sure this doesn't conflict with webpack tests
global.DIRNAME = __dirname
global.DIRNAME = 'beep'
const renderJSON = el => render(el).toJSON()