We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a25763 commit ff0e284Copy full SHA for ff0e284
extending-jest/expect/src/exercise.test.js
@@ -90,8 +90,7 @@ describe('Jest workshop', () => {
90
describe.skip('good', () => {
91
test('renders with odd class name when given an initial count which is odd', () => {
92
ReactDOM.render(<Counter count={1} />, div);
93
- expect(null).toHaveClassName('even');
94
- expect(document.getElementById(COUNTER_ID)).toHaveClassName('even');
+ expect(document.getElementById(COUNTER_ID)).toHaveClassName('odd');
95
expect(document.getElementById(COUNTER_ID)).not.toHaveClassName('even');
96
});
97
0 commit comments