[compiler] Fix broken tests
ghstack-source-id: 000a37ae1f819eef676dcd52410d5231cd2d50fe Pull Request resolved: https://github.com/facebook/react/pull/31078
L
Lauren Tan committed
3edc000d7717027a1ce23611070a56358040a554
Parent: d34da5c