Skip to content

Commit 01b2231

Browse files
committed
format
1 parent 69ec806 commit 01b2231

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

packages/vertexai/src/models/generative-model.test.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,7 @@ describe('GenerativeModel', () => {
113113
match.any,
114114
false,
115115
match((value: string) => {
116-
return (
117-
value.includes('be friendly')
118-
);
116+
return value.includes('be friendly');
119117
}),
120118
{}
121119
);
@@ -199,7 +197,7 @@ describe('GenerativeModel', () => {
199197
it('passes text-only systemInstruction through to chat.sendMessage', async () => {
200198
const genModel = new GenerativeModel(fakeVertexAI, {
201199
model: 'my-model',
202-
systemInstruction: "be friendly"
200+
systemInstruction: 'be friendly'
203201
});
204202
expect(genModel.systemInstruction?.parts[0].text).to.equal('be friendly');
205203
const mockResponse = getMockResponse(
@@ -215,9 +213,7 @@ describe('GenerativeModel', () => {
215213
match.any,
216214
false,
217215
match((value: string) => {
218-
return (
219-
value.includes('be friendly')
220-
);
216+
return value.includes('be friendly');
221217
}),
222218
{}
223219
);

0 commit comments

Comments
 (0)