Remove test code from microsoftAuth that was getting called at import time

This commit is contained in:
Romain Beaumont 2021-03-02 00:32:19 +01:00 committed by GitHub
parent 34e59fd88e
commit cbfa9ef046
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,13 +130,3 @@ module.exports = {
authenticatePassword, authenticatePassword,
authenticateDeviceCode authenticateDeviceCode
} }
async function msaTest () {
// MsAuthFlow.resetTokenCaches()
await authenticateDeviceCode({ emit: () => { } }, {})
}
// debug with node microsoftAuth.js
if (!module.parent) {
msaTest()
}