Only use "platform" config if it is an array.
Another option could have been to adjust the test that failed so a platform array is returned from the mock config object but this feels more robust. If "platform" config is set to a non-array value it is silently ignored now.main
parent
19b3955022
commit
bb375b1e75
Loading…
Reference in New Issue