How to use import/code suggestion in VS Code [Protractor tutorial] | LetCode

Опубликовано: 29 Октябрь 2024
на канале: LetCode with Koushik
2,086
33

#letcode #protractorb #babel
In this video, I have discussed the common problem that is how to get the code suggestion or vs code IntelliSense in a javascript file or our test script
by using import in the test script.

How to use import - code suggestion in VS Code
------------------------------------------------------------------------------

add this conf.js
require("babel-register")({
presets: ["es2015"]
});
------------------------------------------------------------------------------
add this in your package.json
"devDependencies": {
"babel-preset-es2015": "^6.24.1",
"babel-register": "^6.26.0"
}

congratulations, You're ready to use import statement in js
------------------------------------------------------------------------------
Grab the source code from, https://github.com/ortoniKC/Protracto...
------------------------------------------------------------------------------
Music credit:
Song: Wonki - Sunset Paradise
Music provided by Vlog No Copyright Music.

Behind the screen,
  / ortoni  

Join our Facebook group,
  / letcode  

Protractor from scratch with JavaScript & TypeScript
   • Protractor tutorial - LetCode  

JavaScript tutorial from basic to advance level for test automation
   • JavaScript for Test Automation  

TypeScriptJava tutorial from basic to advance level for test automation
   • TypeScript for Test Automation  

Chrome extension development tutorial - XPath Tool
   • Chrome Extension Development - Build ...  

Selenium - Java, not the basic stuff (weird)
   • Selenium Advance Topic  

Fun time videos, enjoy coding :)
   • Fun time  

Thanks for watching :)
Intro & Outro
music credit
song: To my soul
  / majesticcasual  

Channel search
letcode "letcode koushik" LetCode "letcode automation" "letcode javascript" "letcode chrome extension" "letcode protractor" "letcode testing" "letcode selenium" selenium protractor javascript "chrome extension" java "letcode java"