Skip to content

Commit

Permalink
syncing up to c1f9abe33634271e78f2a62fb1c0bbf980f5e4e7
Browse files Browse the repository at this point in the history
Co-authored-by: Joey Greco <57115019+joeyagreco@users.noreply.github.com>
  • Loading branch information
superblocksadmin and joeyagreco committed Oct 15, 2024
1 parent e268285 commit f116c08
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import SuperblocksOcrPlugin from '.';

// RUN: `npm run env:secrets:fetch:plugins` to fetch the latest plugin credentials
dotenv.config({ path: path.resolve(process.cwd(), '.env') });
const VALID_IMAGE_URL = 'https://cdn.graciousquotes.com/wp-content/uploads/2020/05/Aspire-to-inspire-before-we-expire..jpg';
const VALID_IMAGE_URL = 'https://superblocks.s3.us-west-2.amazonaws.com/img/integrations/test-resources/hilarious-joke.jpg';
const MICROSOFT_COMPUTER_VISION_API_KEY = process.env.MICROSOFT_COMPUTER_VISION_API_KEY;
const MICROSOFT_COMPUTER_VISION_BASE_URL = process.env.MICROSOFT_COMPUTER_VISION_BASE_URL;

Expand Down Expand Up @@ -84,7 +84,7 @@ describe('execute', () => {
newProps.actionConfiguration.action = SUPERBLOCKS_OCR_ACTION.FROM_URL;
newProps.actionConfiguration.fileUrl = VALID_IMAGE_URL;
const resp = await plugin.execute(newProps);
expect(resp.output).toEqual('Aspire to inspire before\nwe expire.\nGRACIOUSQUOTES.COM');
expect(resp.output).toEqual('What do you call a\nfly with no wings?\nA walk.\nRD');
},
TEST_TIMEOUT_MS
);
Expand Down

0 comments on commit f116c08

Please sign in to comment.