Skip to content

Commit

Permalink
Typo fix: Update index.mdx (kentcdodds#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
pranjaljately authored Apr 21, 2020
1 parent 5eaf5e3 commit 526b6be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/blog/unit-vs-integration-vs-e2e-tests/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ import React from 'react'
import {render, screen} from '@testing-library/react'
import ItemList from '../item-list'

// Some people don't call these a unit test because we're render to the DOM with React.
// Some people don't call these a unit test because we're rendering to the DOM with React.
// They'd tell you to use shallow rendering instead.
// When they tell you this, send them to https://kcd.im/shallow
test('renders "no items" when the item list is empty', () => {
Expand Down Expand Up @@ -251,7 +251,7 @@ PR will get rejected unless it includes tests? Is it because testing enhances
your workflow?

The biggest and most important reason that I write tests is **CONFIDENCE**. I
want to be confident that the code I'm writing for the future wont break the app
want to be confident that the code I'm writing for the future won't break the app
that I have running in production today. So whatever I do, I want to make sure
that the kinds of tests I write bring me the most confidence possible and I need
to be cognizant of the trade-offs I'm making when testing.
Expand Down

0 comments on commit 526b6be

Please sign in to comment.