Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 25 2020 15:21
    thomashoddinott edited #125
  • Nov 25 2020 15:20
    thomashoddinott edited #125
  • Nov 25 2020 15:20
    thomashoddinott edited #125
  • Nov 25 2020 15:20
    thomashoddinott edited #125
  • Nov 25 2020 15:19
    thomashoddinott opened #125
  • Oct 09 2020 09:15
    dewaleolaoye closed #113
  • Sep 16 2020 22:02

    kentcdodds on add-rjperkins

    (compare)

  • Sep 16 2020 22:02

    kentcdodds on master

    docs: add rjperkins as a contri… (compare)

  • Sep 16 2020 22:02
    kentcdodds closed #124
  • Sep 16 2020 22:02
    allcontributors[bot] commented #123
  • Sep 16 2020 22:02
    allcontributors[bot] opened #124
  • Sep 16 2020 22:02

    allcontributors[bot] on add-rjperkins

    docs: update .all-contributorsr… (compare)

  • Sep 16 2020 22:02

    allcontributors[bot] on add-rjperkins

    docs: update README.md [skip ci] (compare)

  • Sep 16 2020 22:02

    allcontributors[bot] on add-rjperkins

    (compare)

  • Sep 16 2020 22:02
    kentcdodds commented #123
  • Sep 16 2020 22:01

    kentcdodds on master

    fix: change disallowedPasswords… (compare)

  • Sep 16 2020 22:01
    kentcdodds closed #123
  • Sep 16 2020 22:01
    kentcdodds commented #123
  • Sep 16 2020 21:10
    rjperkins opened #123
  • Aug 06 2020 10:53
    ggofron commented #113
Kent C. Dodds
@kentcdodds

git clone https://github.com/kentcdodds/testing-workshop.git

cd testing-workshop

npm run setup --silent

git clone https://github.com/kentcdodds/testing-workshop.git

cd testing-workshop

npm run setup --silent
node ./scripts/install
Kent C. Dodds
@kentcdodds
Kent C. Dodds
@kentcdodds
npm start api.unit
api/src/routes/utils/__tests__/arrayify.js
Kent C. Dodds
@kentcdodds
Kent C. Dodds
@kentcdodds
Kent C. Dodds
@kentcdodds
Kent C. Dodds
@kentcdodds
Kent C. Dodds
@kentcdodds

Starting the chat for the Assert(JS) workshop today (2018-02-21)!


Scott Spence
@spences10
Wooo! Hello Gitter chat from 6 months ago 🙃
I see Cypress is available on Windows now @kentcdodds 👍
Kent C. Dodds
@kentcdodds
:) Woo!
Matthew Goldberg
@Matthew-Goldberg
The conversation regarding 5.js has been closed as primarily opinion-based
;)
Vince Speelman
@VinSpee
enforcing 100% code coverage can also influence devs to write weak and bad tests
Brandon Pugh
@bpugh
fyi https://github.com/Thinkmill/jest-in-case is perfect for testing isPasswordAllowed with all the password variations
Vince Speelman
@VinSpee
was that a browser extension that listed code coverage in a github repo's file pane?
Pontus Lundin
@hontas
the issue: facebook/jest#1965
Kent C. Dodds
@kentcdodds
That's codecov.io
JP Blanchette
@jpblancoder
Why does the var __mock start with __? Is that a convention for mocks?
shakedClio
@shakedClio
Nikola Đuza
@nikolalsvk
jest automatically picks up on __mocks__ directory, which is awesome and scary at the same time
Matthew Goldberg
@Matthew-Goldberg
What do you think about using jest.clearAllMocks() rather than implementing your own reset() on your mock?
Pontus Lundin
@hontas
const authApi = axios.create({
    baseURL,
    headers: {Authorization: `Bearer ${registeredUser.token}`}
});
Branko Zivanovic
@zivanovicb1_twitter
Guys any thoughts on how to test components that have both withRouter() and connect() on them? I'd like to test that on componentDidMount, I'm dispatching a redux action. This should be tested, right?
Dan
@LeeroyJenks
:wave:
Kent C. Dodds
@kentcdodds
Hello Trulia! :wave:

Dan
@LeeroyJenks
We appreciate you @kentcdodds
Kent C. Dodds
@kentcdodds
Thanks @LeeroyJenks :)
Carolina Pinzon
@cps543_twitter
brew install watchman
expo/expo#854
Kent C. Dodds
@kentcdodds
Dan
@LeeroyJenks
Thank you @kentcdodds !
Adrian Thomas
@adriandeveloper
Hello. Just starting JavaScript Testing Practices and Principles. Super excited since testing is something that's been on my "To Learn" list for a long time.
wengyilun
@wengyilun
I have been wanting to learn testing as well
Rai Talha Rehman
@raitalharehman
i want to learn testing
Vitalii Hodzevych
@vitalii.hodzevych_gitlab
good idea