How can i return promise data to another function

async  function testReturn(orderId) {
  //await the response of the fetch call
           let response = await fetch('http://localhost:3245/api/Orders/' + orderId);
            //proceed once the first promise is resolved.
           let data = await response.json();
            //proceed only when the second promise is resolved
            return data;

I have the above code that fetches orders from local API and I want once the promise resolves, I return the data to UX page using export.modules!