React Native 0.57.3 onwards is throwing a warning about ListView being removed in a future release. I am using KeyboardAwareScrollView only. Is there a way to avoid triggering this warning aside from YellowBox.ignoreWarnings? I am not using/importing KeyboardAwareListView.
ListView is deprecated and will be removed in a future release. See https://fb.me/nolistview for more information

In the meantime I've just added this at the root of the app to hide the warning:
YellowBox.ignoreWarnings(['ListView is deprecated']);
It's killing my Jest as well
PASS src/components/Icon/__tests__/index.tsx (5.062s)
● Console
console.warn node_modules/react-native/Libraries/react-native/react-native-implementation.js:64
ListView is deprecated and will be removed in a future release. See https://fb.me/nolistview for more information
PASS src/components/Button/__tests__/index.tsx (13.702s)
● Console
console.warn node_modules/react-native/Libraries/react-native/react-native-implementation.js:64
ListView is deprecated and will be removed in a future release. See https://fb.me/nolistview for more information
PASS src/components/Markdown/__tests__/index.tsx (35.521s)
● Console
console.warn node_modules/react-native/Libraries/react-native/react-native-implementation.js:64
ListView is deprecated and will be removed in a future release. See https://fb.me/nolistview for more information
PASS src/components/Screen/__tests__/index.tsx (13.159s)
● Console
console.warn node_modules/react-native/Libraries/react-native/react-native-implementation.js:64
ListView is deprecated and will be removed in a future release. See https://fb.me/nolistview for more information
PASS src/screens/NotFound/__tests__/index.tsx
● Console
console.warn node_modules/react-native/Libraries/react-native/react-native-implementation.js:64
ListView is deprecated and will be removed in a future release. See https://fb.me/nolistview for more information
PASS src/components/Link/__tests__/index.tsx
● Console
console.warn node_modules/react-native/Libraries/react-native/react-native-implementation.js:64
ListView is deprecated and will be removed in a future release. See https://fb.me/nolistview for more information
PASS src/components/CardSection/__tests__/index.tsx
● Console
console.warn node_modules/react-native/Libraries/react-native/react-native-implementation.js:64
ListView is deprecated and will be removed in a future release. See https://fb.me/nolistview for more information
PASS src/screens/Main/__tests__/index.tsx
● Console
console.warn node_modules/react-native/Libraries/react-native/react-native-implementation.js:64
ListView is deprecated and will be removed in a future release. See https://fb.me/nolistview for more information
PASS src/screens/Login/__tests__/index.tsx (34.527s)
● Console
console.warn node_modules/react-native/Libraries/react-native/react-native-implementation.js:64
ListView is deprecated and will be removed in a future release. See https://fb.me/nolistview for more information
PASS src/components/Link/__tests__/index.web.tsx (36.636s)
● Console
console.warn node_modules/react-native/Libraries/react-native/react-native-implementation.js:64
ListView is deprecated and will be removed in a future release. See https://fb.me/nolistview for more information
PASS src/__tests__/index.tsx (36.258s)
● Console
console.warn node_modules/react-native/Libraries/react-native/react-native-implementation.js:64
ListView is deprecated and will be removed in a future release. See https://fb.me/nolistview for more information
Happens in RN 0.57.7 as well
We can remove ListView from future releases.
@ethanneff those are warnings, your tests should be passing.
They are passing, it's just noisy. ¯\_(ツ)_/¯
Anyone have a workaround to squelch warnings in tests? We fail CI if tests emit warnings.
@apexskier
YellowBox.ignoreWarnings(['ListView is deprecated']);
thank you @n1ru4l
Most helpful comment
We can remove
ListViewfrom future releases.@ethanneff those are warnings, your tests should be passing.