mirror of
https://github.com/c8r/x0.git
synced 2024-08-17 01:10:32 +03:00
Adjust tests
This commit is contained in:
parent
453b0f8b2f
commit
af74a3ddae
@ -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
|
||||
|
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user