Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
build(samples test): added imageContext to ImprovedRequest (#1069)
Browse files Browse the repository at this point in the history
* build(samples test): added imageContext to ImprovedRequest

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
galz10 and gcf-owl-bot[bot] authored Oct 4, 2022
1 parent c9d684a commit 5c6aaca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion samples/system-test/detect.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ describe('detect', () => {

if (webDetection.webEntities.length) {
assert.match(output, /Web entities found:/);
assert.match(output, /Description: Google Cloud Platform/);
assert.match(output, /Description:/);
}

if (webDetection.bestGuessLabels.length) {
Expand Down
1 change: 1 addition & 0 deletions src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ interface ImprovedRequest {
};
// eslint-disable-next-line @typescript-eslint/no-explicit-any
features?: any;
imageContext?: any;
}

interface VisionClient {
Expand Down

0 comments on commit 5c6aaca

Please sign in to comment.