Fix incorrect test for MultipleModeledMethodsPanel

This was caused by a semantic merge conflict resulting in the wrong
`onChange` argument being used in the test.
This commit is contained in:
Koen Vlaswinkel
2023-10-13 09:33:55 +02:00
parent 3c505719f2
commit 19c30f1ee2

View File

@@ -378,7 +378,7 @@ describe(MultipleModeledMethodsPanel.name, () => {
<MultipleModeledMethodsPanel
method={method}
modeledMethods={
onChange.mock.calls[onChange.mock.calls.length - 1][0]
onChange.mock.calls[onChange.mock.calls.length - 1][1]
}
onChange={onChange}
/>,
@@ -394,7 +394,7 @@ describe(MultipleModeledMethodsPanel.name, () => {
<MultipleModeledMethodsPanel
method={method}
modeledMethods={
onChange.mock.calls[onChange.mock.calls.length - 1][0]
onChange.mock.calls[onChange.mock.calls.length - 1][1]
}
onChange={onChange}
/>,