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 03e3fa2 commit 8ff319aCopy full SHA for 8ff319a
test/tests/js/Index-test.js
@@ -101,7 +101,6 @@ describe("<Index />", function() {
101
expect(wrapper.find(".data-type-label")).to.have.length(1)
102
// setProps() will cause getDerivedStateFromProps to be called once.
103
wrapper.setProps({ src: { test1: true, test2: false } })
104
- console.log(Index.getDerivedStateFromProps);
105
// in total, it was called thrice.
106
expect(Index.getDerivedStateFromProps.calledThrice).to.equal(
107
true
0 commit comments