-2

I am creating a karate automation framework and have a karate-config.js file in the framework. When I try to declare anything using var or try to use the karate keyword it is showing me warnings:

'var' is used instead of 'let' or 'const' unresolved variable of type karate.

Because of this I am not able to use env variables. How do I resolve this?

I am expecting the keywords to be identified by the framework. Am I missing some plugin or dependency in the IDE? The same project when I share it with my teammates is working fine in their systems.

Ada
  • 427
  • 2
  • 13
  • without you sharing your karate-config.js, no one can help identify the issue. If you don't want to do that, please re-read the doc for [karate-config](https://github.com/karatelabs/karate) this specifically has an example for different envs – HopefullyHelpful Sep 03 '23 at 01:09

0 Answers0