It fails with the current setup because we are trying to test a native feature without mocking it. We need to look into what we need to mock and create a valid jest setup.