Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(functions/ocr): Remove unused region tags + add clarifying comment #2013

Merged
merged 5 commits into from
Oct 26, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Delete unused region tags from tests
  • Loading branch information
Ace Nassri authored Oct 26, 2020
commit 01847f48f81632e4b494d1fba9cf69b6fe3be7ec
6 changes: 3 additions & 3 deletions functions/ocr/app/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('processImage', () => {
});
});

describe('functions_ocr_process functions_ocr_detect functions_ocr_publish', () => {
describe('functions_ocr_process functions_ocr_detect', () => {
it('processImage detects text', async () => {
const data = {
bucket: bucketName,
Expand Down Expand Up @@ -96,7 +96,7 @@ describe('translateText', () => {
});
});

describe('functions_ocr_translate functions_ocr_publish', () => {
describe('functions_ocr_translate', () => {
it('translateText translates and publishes text', async () => {
const data = {
data: Buffer.from(
Expand Down Expand Up @@ -131,7 +131,7 @@ describe('saveResult', () => {
});
});

describe('functions_ocr_save functions_ocr_rename', () => {
describe('functions_ocr_save', () => {
it('saveResult translates and publishes text', async () => {
const data = {
data: Buffer.from(JSON.stringify({text, filename, lang})).toString(
Expand Down