Salesforce Developer Tutorial (LWC) - The Complete Guide to LWC Jest Tests in 2023

Поділитися
Вставка
  • Опубліковано 16 гру 2024

КОМЕНТАРІ • 14

  • @SfdcLearner
    @SfdcLearner Рік тому +2

    ThanksYou Great Content to start with JEST. waiting for some advanced topics

  • @alanbirchenough
    @alanbirchenough Рік тому +2

    Excellent video. You don't force me to come back for a dozen or so sloppily scripted talks that go at a snail's pace; instead I can go from "zero to hero" with a meaty topic like Jest LWC testing in a couple of hours. One pro tip I might recommend: It is very easy to get JSON for wire tests via the CLI. Just run your query using 'sf data query ...' and include the '--json' output option and redirect standard output to a file. Then you will have to strip off a couple of levels of cruft enclosing the data you really want - i.e., that big old array of records you queried for - but that doesn't take a moment. If I ever got around to things I guess I might write a jq filter to strip that stuff off every time. Oh well...

  • @soumyaprakashsahoo8823
    @soumyaprakashsahoo8823 2 місяці тому

    Thanks for this. I was looking for this

  • @CodingWithTheForce
    @CodingWithTheForce  Рік тому +4

    If you're jumping around a lot in this video and you get lost, make sure to at least watch the chapter about the beforeEach method at 27:57. It will likely get you back on track.
    Also, Something I realize I forgot to mention in this video is, these days if you install the Salesforce CLI I believe it also installs node.js and npm, so you may not need to actually install them if you have recently installed the Salesforce CLI.

  • @glenmatthes8839
    @glenmatthes8839 Рік тому +1

    Seeing all the test failures as you went along was perfect. That type of stuff happens all the time, but it's also why we test!

    • @zthroescha
      @zthroescha 6 місяців тому

      I half-wonder of those "mistakes" were on purpose? They were instructive in-and-of themselves.

  • @zthroescha
    @zthroescha 6 місяців тому

    One of my absolute favorite walk-throughs. Perfect!

  • @isaacjessop
    @isaacjessop 5 місяців тому

    Thanks!

  • @_ohmummy
    @_ohmummy 11 місяців тому

    Thank you, very interesting

  • @Vitalii_Ivakin
    @Vitalii_Ivakin Рік тому

    Thanks you for this video. Very helpful as always

  • @warlockZ-zl3oq
    @warlockZ-zl3oq Рік тому

    cool, thank you for your sharing🥳

  • @david57989
    @david57989 Рік тому

    @CodingWithTheForce... There is an error at 1:18:14. The JSON data is not available in the connectedCallback for accounts. I had to get that data via the renderedCallback. Thanks for making this video. Huge help! Keep up the awesome work.

  • @granfaloon
    @granfaloon Рік тому

    Are you going to TrailblazerDx this year?

  • @bharathsimha2822
    @bharathsimha2822 Рік тому +1

    Can you do one session salesforce delta deployment in azure devops yaml pipeline CiCD