 await import(&quot;@pnp/nodejs&quot;);
    await import(&quot;@pnp/sp/webs/index.js&quot;);

    const sp = spfi().using(SPDefault({
        baseUrl: settings.testing.sp.url,
        msal: {
            config: settings.testing.sp.msal.init,
            scopes: settings.testing.sp.msal.scopes
        }
    }));

    // make a call to SharePoint and log it in the console
    const w = await sp.web.select(&quot;Title&quot;, &quot;Description&quot;)();
    console.log(JSON.stringify(w, null, 4));

}, 0);
</co