Everythings working well as expected. While I tried to write a test case I got this error
Code: Select all
This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain JavaScript.
Details:
/Users/username/Sites/my-project/node_modules/primevue/datatable/DataTable.vue:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){<template>
^
SyntaxError: Unexpected token '<'
at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1350:14)
at Object.<anonymous> (node_modules/primevue/datatable/index.js:2:18)
Thanks,