{"id":25074,"date":"2022-01-10T14:52:49","date_gmt":"2022-01-10T22:52:49","guid":{"rendered":"https:\/\/www.podfeet.com\/blog\/?p=25074"},"modified":"2022-01-10T14:52:50","modified_gmt":"2022-01-10T22:52:50","slug":"ccatp-711","status":"publish","type":"post","link":"https:\/\/www.podfeet.com\/blog\/2022\/01\/ccatp-711\/","title":{"rendered":"CCATP #711 \u2013 Bart Busschots on PBS 133 of X \u2013 Firming up our Foundations (1 of 2)"},"content":{"rendered":"<p>In this installment of Programming By Stealth, Bart Busschots takes us through some review in order to prepare us to begin our journey into test driven development (TDD) with the tool Jest which he&#8217;s chosen for our TDD.  He clears up some confusion on the difference between <code>npm install<\/code> and <code>npm ci<\/code>, and then he gives us more guidance on when to use which JSDoc tags, especially when documenting plain objects.  He gives us a refresher on the different ways of defining functions, and especially arrow functions which are heavily used by Jest. Jest also uses function chaining heavily so he reminds us of how that works as well.<\/p>\n<p>Even if you remember all of this and had it all clear in your head (I most definitely did <em>not<\/em>) it&#8217;s great to have all of this content in one post as reference.<\/p>\n<p>The next installment will continue firming up our foundation with some new concepts that are heavily used by Jest.<\/p>\n<p>You can find Bart&#8217;s fabulous tutorial shownotes at <a href=\"https:\/\/pbs.bartificer.net\/pbs133\">pbs.bartificer.net<\/a><\/p>\n<audio class=\"wp-audio-shortcode\" id=\"audio-25074-1\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2022_01_10.mp3?_=1\" \/><a href=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2022_01_10.mp3\">https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2022_01_10.mp3<\/a><\/audio>\n<p><a title=\"mp3 download\" href=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2022_01_10.mp3\" target=\"_blank\" rel=\"noopener noreferrer\">mp3 download<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this installment of Programming By Stealth, Bart Busschots takes us through some review in order to prepare us to begin our journey into test driven development (TDD) with the tool Jest which he&#8217;s chosen for our TDD. He clears up some confusion on the difference between npm install and npm ci, and then he [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":18994,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[147,172,213],"tags":[921,5004,3638,5007,900,5009,4922,5008,5005,5006,2001,1619,1620],"class_list":["post-25074","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog-posts","category-ccatp","category-programming-by-stealth","tag-anonymous-functions","tag-arrow-functions","tag-fat-arrow-functions","tag-function-chaining","tag-functions","tag-jest","tag-jsdoc","tag-npm","tag-parameters","tag-properties","tag-rest-arguments","tag-tdd","tag-test-driven-development"],"jetpack_featured_media_url":"https:\/\/www.podfeet.com\/blog\/wp-content\/uploads\/2019\/08\/PBS_Logo-1-300x300_no_alpha.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/25074","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/comments?post=25074"}],"version-history":[{"count":2,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/25074\/revisions"}],"predecessor-version":[{"id":25076,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/25074\/revisions\/25076"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/media\/18994"}],"wp:attachment":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/media?parent=25074"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/categories?post=25074"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/tags?post=25074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}