Skip to content

Enzyme compatibility in Webpack config #180

Closed
@insin

Description

@insin

RE: #80 (comment)

This is what's required for Enzyme compatibility:

https://github.com/airbnb/enzyme/blob/master/docs/guides/webpack.md#react-15-compatability

externals: {
  'react/addons': true,
  'react/lib/ExecutionEnvironment': true,
  'react/lib/ReactContext': true
}

This project doesn't have a test-specific Webpack config, so where should this go?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions