Hi All, I am currently using v5.1.2. I am trying to test suits of ui module by "npm run test" command it gives me following error.
* FAIL * app/cdap/components/FeatureUI/__tests__/*sum.test.js* *● *Test suite failed to run ReferenceError: Unknown plugin "@babel/proposal-class-properties" specified in "/workspace/cdap/cdap-ui/.babelrc" at 1, attempted to resolve relative to "/workspace/cdap/cdap-ui" at node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:17 at Array.map (<anonymous>) at Function.normalisePlugins (node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20) at OptionManager.mergeOptions (node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36) at OptionManager.init (node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12) at File.initOptions (node_modules/babel-core/lib/transformation/file/index.js:212:65) at new File (node_modules/babel-core/lib/transformation/file/index.js:135:24) at Pipeline.transform (node_modules/babel-core/lib/transformation/pipeline.js:46:16) *Then i removed that entries "@babel/proposal-class-properties" and "@babel/proposal-object-reset-spread" from .babelrc file and tried to run the command "npm run test" getting below error* app/cdap/components/FeatureUI/__tests__/*sum.test.js* *● *Test suite failed to run Requires Babel "^7.0.0-0", but was loaded with "6.26.0". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel. at throwVersionError (node_modules/@babel/helper-plugin-utils/lib/index.js:65:11) at Object.assertVersion (node_modules/@babel/helper-plugin-utils/lib/index.js:13:11) at api (node_modules/@babel/plugin-syntax-dynamic-import/lib/index.js:19:7) at node_modules/@babel/helper-plugin-utils/lib/index.js:19:12 at Function.memoisePluginContainer (node_modules/babel-core/lib/transformation/file/options/option-manager.js:113:13) at Function.normalisePlugin (node_modules/babel-core/lib/transformation/file/options/option-manager.js:146:32) at node_modules/babel-core/lib/transformation/file/options/option-manager.js:184:30 at Array.map (<anonymous>) at Function.normalisePlugins (node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20) at OptionManager.mergeOptions (node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36) at OptionManager.init (node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12) at File.initOptions (node_modules/babel-core/lib/transformation/file/index.js:212:65) at new File (node_modules/babel-core/lib/transformation/file/index.js:135:24) at Pipeline.transform (node_modules/babel-core/lib/transformation/pipeline.js:46:16) at <anonymous> *Finding:- * It seems version mismatch so i deleted yarn.lock file then tried to download all the dependecies according to package.json however the defined dependencies are not resolved with them selves. Can any one help me how to run cdap UI testsuites. Thanks in advance -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.