Skip to content

Commit c75f86b

Browse files
committed
Adjust comment
1 parent a860835 commit c75f86b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/vertexai/test-utils/convert-mocks.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@ const mockDirs: Record<BackendName, string> = {
3535
};
3636

3737
/**
38-
* Generates a file that exports maps from filenames to JSON mock responses (as strings)
38+
* Generates a JS file that exports maps from filenames to JSON mock responses (as strings)
3939
* for each backend.
40+
*
41+
* This allows tests that run in a browser to access the mock responses without having to
42+
* read from local disk and requiring 'fs'.
4043
*/
4144
function generateMockLookupFile(): void {
4245
console.log('Generating mock lookup file...');

0 commit comments

Comments
 (0)