Skip to content

Commit 1eed2eb

Browse files
katiemniennaeglasnt
authored
chore: remove old code samples (#4078)
Co-authored-by: Jennifer Davis <[email protected]> Co-authored-by: Katie McLaughlin <[email protected]>
1 parent 898ac9a commit 1eed2eb

File tree

2 files changed

+1
-93
lines changed

2 files changed

+1
-93
lines changed

ai-platform/snippets/imagen-verify-image-watermark.js

Lines changed: 0 additions & 86 deletions
This file was deleted.

ai-platform/snippets/test/imagen.test.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const cp = require('child_process');
2424
const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});
2525
const cwd = path.join(__dirname, '..');
2626

27-
describe('AI platform generate and edit an image using Imagen and check for a watermark', () => {
27+
describe('AI platform generate and edit an image using Imagen', () => {
2828
it('should generate an image', async () => {
2929
const stdout = execSync('node ./imagen-generate-image.js', {
3030
cwd,
@@ -37,12 +37,6 @@ describe('AI platform generate and edit an image using Imagen and check for a wa
3737
});
3838
assert.match(stdout, /Saved image output1.png/);
3939
});
40-
it('should verify that an image contains a watermark', async () => {
41-
const stdout = execSync('node ./imagen-verify-image-watermark.js', {
42-
cwd,
43-
});
44-
assert.match(stdout, /ACCEPT/);
45-
});
4640
});
4741

4842
describe('AI platform edit image using Imagen inpainting and outpainting', () => {

0 commit comments

Comments
 (0)