Skip to content

Commit 0d1fb41

Browse files
committed
Cleanup
1 parent f78282a commit 0d1fb41

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/vertexai/karma.conf.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ const karmaBase = require('../../config/karma.base');
1919
const { argv } = require('yargs');
2020
const { existsSync } = require('fs');
2121

22+
const files = [`src/**/*.test.ts`];
23+
2224
// Validate that the file that defines the Firebase config to be used in the integration tests exists.
2325
if (argv.integration) {
2426
if (!existsSync('integration/firebase-config.ts')) {
@@ -42,10 +44,9 @@ module.exports = function (config) {
4244
// frameworks to use
4345
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
4446
frameworks: ['mocha']
45-
4647
};
4748

48-
config.client.args.push(process.env.VERTEXAI_INTEGRATION_FIREBASE_CONFIG_JSON);
49-
5049
config.set(karmaConfig);
5150
};
51+
52+
module.exports.files = files;

0 commit comments

Comments
 (0)