diff --git a/types/office-js/office-js-tests.ts b/types/office-js/office-js-tests.ts index 43249712e1..f04f19fe34 100644 --- a/types/office-js/office-js-tests.ts +++ b/types/office-js/office-js-tests.ts @@ -250,22 +250,6 @@ function test_word() { } -function test_shared() { - Office.context.auth.getAccessTokenAsync({ forceConsent: false }, - function (result) { - if (result.status === Office.AsyncResultStatus.Succeeded) { - // result.value is the raw access token - console.log(result.value) - } - else { - console.log("Code: " + result.error.code); - console.log("Message: " + result.error.message); - console.log("name: " + result.error.name); - } - } - ); -} - async function test_visio() { const url = "someurl";