Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mifi committed Nov 8, 2024
1 parent 52d8fe2 commit c00a44b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/@uppy/companion/test/__tests__/provider-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ describe('Test Provider options', () => {
providerManager.addProviderOptions(getCompanionOptions(), grantConfig, getOauthProvider)
expect(grantConfig.instagram).toEqual({
transport: 'session',
"state": true,
callback: '/instagram/callback',
redirect_uri: 'http://localhost:3020/instagram/redirect',
key: '123456',
Expand All @@ -53,6 +54,7 @@ describe('Test Provider options', () => {
key: 'dropbox_key',
secret: 'dropbox_secret',
transport: 'session',
"state": true,
redirect_uri: 'http://localhost:3020/dropbox/redirect',
authorize_url: 'https://www.dropbox.com/oauth2/authorize',
access_url: 'https://api.dropbox.com/oauth2/token',
Expand All @@ -66,6 +68,7 @@ describe('Test Provider options', () => {
key: 'box_key',
secret: 'box_secret',
transport: 'session',
"state": true,
redirect_uri: 'http://localhost:3020/box/redirect',
authorize_url: 'https://account.box.com/api/oauth2/authorize',
access_url: 'https://api.box.com/oauth2/token',
Expand All @@ -81,6 +84,7 @@ describe('Test Provider options', () => {
key: 'google_key',
secret: 'google_secret',
transport: 'session',
"state": true,
redirect_uri: 'http://localhost:3020/drive/redirect',
scope: [
'https://www.googleapis.com/auth/drive.readonly',
Expand All @@ -101,6 +105,7 @@ describe('Test Provider options', () => {
key: 'google_key',
secret: 'google_secret',
transport: 'session',
"state": true,
redirect_uri: 'http://localhost:3020/googlephotos/redirect',
scope: ['https://www.googleapis.com/auth/photoslibrary.readonly', 'https://www.googleapis.com/auth/userinfo.email'],
callback: '/googlephotos/callback',
Expand All @@ -114,6 +119,7 @@ describe('Test Provider options', () => {
key: 'zoom_key',
secret: 'zoom_secret',
transport: 'session',
"state": true,
authorize_url: 'https://zoom.us/oauth/authorize',
redirect_uri: 'http://localhost:3020/zoom/redirect',
access_url: 'https://zoom.us/oauth/token',
Expand Down

0 comments on commit c00a44b

Please sign in to comment.