Skip to content

Commit c6cbd3b

Browse files
committed
Improve relibiity in tests
1 parent 6552dda commit c6cbd3b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

genai/test/textgen-with-txt.test.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ const sample = require('../text-generation/textgen-with-txt.js');
2323
describe('textgen-with-txt', async () => {
2424
it('should generate text content from a text prompt', async () => {
2525
const output = await sample.generateContent(projectId);
26-
assert(
27-
output.length > 0 && output.includes('AI') && output.includes('models')
28-
);
26+
assert(output.length > 0 && output.includes('AI'));
2927
});
3028
});

0 commit comments

Comments
 (0)