Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7a84ed0

Browse files
day-23 fix snippet typo
1 parent a68f0fe commit 7a84ed0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎day-23/post.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,15 @@ From this output, we can see the two tests with one passing test (with a green c
135135

136136
Let's update the second test to make it pass by changing the expectation to `toBeFalsy()`:
137137

138-
```
138+
```javascript
139139
describe('Timeline', () => {
140140

141141
it('passing test', () => {
142142
expect(true).toBeTruthy();
143143
})
144144

145145
it('failing test', () => {
146-
expect(false).toBeTruthy();
146+
expect(false).toBeFalsy();
147147
})
148148
})
149149
```

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /