Skip to content

FAIL: src/browser/App.test.tsx #15

@DaxGoon

Description

@DaxGoon

Add @babel/preset-react (https://git.io/JfeDR) to the 'presets' section of your Babel config to enable transformation.
If you want to leave it as-is, add @babel/plugin-syntax-jsx (https://git.io/vb4yA) to the 'plugins' section to enable parsing.

  at Parser._raise (node_modules/@babel/parser/src/parser/error.js:60:45)
  at Parser.raiseWithData (node_modules/@babel/parser/src/parser/error.js:55:17)
  at Parser.expectOnePlugin (node_modules/@babel/parser/src/parser/util.js:157:18)
  at Parser.parseExprAtom (node_modules/@babel/parser/src/parser/expression.js:1180:18)
  at Parser.parseExprSubscripts (node_modules/@babel/parser/src/parser/expression.js:563:23)
  at Parser.parseUpdate (node_modules/@babel/parser/src/parser/expression.js:543:21)
  at Parser.parseMaybeUnary (node_modules/@babel/parser/src/parser/expression.js:527:17)
  at Parser.parseExprOps (node_modules/@babel/parser/src/parser/expression.js:343:23)
  at Parser.parseMaybeConditional (node_modules/@babel/parser/src/parser/expression.js:308:23)
  at Parser.parseMaybeAssign (node_modules/@babel/parser/src/parser/expression.js:263:21)

Suggested solution (by the error message) does not solve the error.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions