fix(config): cast configuration values into proper types (#9829)

Refs #9808
This commit is contained in:
Oliwia Rogala
2024-04-18 11:04:05 +02:00
committed by GitHub
parent c2b63ab4d7
commit 7378821669
28 changed files with 359 additions and 83 deletions

View File

@@ -30,21 +30,6 @@ describe("<FilterContainer/>", function(){
expect(renderedColInsideFilter.length).toEqual(1)
})
it("does not render FilterContainer if filter is null", function(){
// Given
let props = {...mockedProps}
props.layoutSelectors = {...mockedProps.specSelectors}
props.layoutSelectors.currentFilter = function() {return null}
// When
let wrapper = mount(<FilterContainer {...props}/>)
// Then
const renderedColInsideFilter = wrapper.find(Col)
expect(renderedColInsideFilter.length).toEqual(0)
})
it("does not render FilterContainer if filter is false", function(){
// Given