Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

410
Views
JEST con Angular SyntaxError: 'exportación' de token inesperado

ProjectDir\node_modules\lodash-es\lodash.js:10 export {predeterminado como agregar} desde './add.js'; ^^^^^^

SyntaxError: 'exportación' de token inesperado en Runtime.createScriptFromCode (../../node_modules/jest-runtime/build/index.js:1728:14) en Object. (../../node_modules/ng2-charts/fesm2015/ng2-charts.mjs:5:23)

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Logré resolver este error siguiendo el enlace a continuación con algunas variaciones, pero la forma en que resolvió mi problema fue agregar la siguiente configuración al archivo "jset.config.js":

 moduleNameMapper: { "lodash-es": "lodash", }

Configuración de Jest "SyntaxError: exportación de token inesperada"

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!