Skip to content

Commit d3650a1

Browse files
authored
Merge pull request #2764 from romanstetsyk/issue-2167
fix issue 2167 (remove profanities)
2 parents 466f2b1 + 79c7fb8 commit d3650a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/5/fi/osa5c.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,15 +680,15 @@ On myös jotain tilanteita, missä komennon muoto _queryByText_ on käyttökelpo
680680
Komentoa voidaan hyödyntää esim. varmistamaan, että jokin asia <i>ei renderöidy</i>:
681681

682682
```js
683-
test('renders no shit', () => {
683+
test('does not render this', () => {
684684
const note = {
685685
content: 'This is a reminder',
686686
important: true
687687
}
688688

689689
render(<Note note={note} />)
690690

691-
const element = screen.queryByText('do not want this shit to be rendered')
691+
const element = screen.queryByText('do not want this thing to be rendered')
692692
expect(element).toBeNull()
693693
})
694694
```

0 commit comments

Comments
 (0)