async def METHOD_NAME():
    class Foo:
        ...
    gid = relay.GlobalID(type_name="FruitAsync", node_id="1")
    with pytest.raises(TypeError):
        fruit = await gid.resolve_node(fake_info, ensure_type=Foo)