Skip to content

Commit 89a29d4

Browse files
committed
Remove files from all karma module exports.
This object is not used by Karma, so I believe there is no need to export it. Karma instead uses the 'files' property that is assigned on the config object. Running tests locally, it seems that the same set of tests are ran after this change. One side-effect of this change could be that files importing the another `karma.conf.js` file may use these exported files, but I can not find cases of this.
1 parent feb2c9d commit 89a29d4

File tree

32 files changed

+2
-66
lines changed

32 files changed

+2
-66
lines changed

integration/compat-interop/karma.conf.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,4 @@ module.exports = function (config) {
3131
});
3232

3333
config.set(karmaConfig);
34-
};
35-
36-
module.exports.files = files;
34+
};

integration/firestore/karma.conf.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,3 @@ module.exports = function (config) {
3232

3333
config.set(karmaConfig);
3434
};
35-
36-
module.exports.files = files;

packages/analytics-compat/karma.conf.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,3 @@ module.exports = function (config) {
2828
frameworks: ['mocha']
2929
});
3030
};
31-
32-
module.exports.files = files;

packages/analytics/karma.conf.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,3 @@ module.exports = function (config) {
2828
frameworks: ['mocha']
2929
});
3030
};
31-
32-
module.exports.files = files;

packages/analytics/karma.integration.conf.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,3 @@ module.exports = function (config) {
2828
frameworks: ['mocha']
2929
});
3030
};
31-
32-
module.exports.files = files;

packages/app-check-compat/karma.conf.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,3 @@ module.exports = function (config) {
2828
frameworks: ['mocha']
2929
});
3030
};
31-
32-
module.exports.files = files;

packages/app-check/karma.conf.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,3 @@ module.exports = function (config) {
2828
frameworks: ['mocha']
2929
});
3030
};
31-
32-
module.exports.files = files;

packages/app-compat/karma.conf.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,3 @@ module.exports = function (config) {
3131

3232
config.set(karmaConfig);
3333
};
34-
35-
module.exports.files = files;

packages/app/karma.conf.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,3 @@ module.exports = function (config) {
3131

3232
config.set(karmaConfig);
3333
};
34-
35-
module.exports.files = files;

packages/auth/karma.conf.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,3 @@ function getClientConfig(argv) {
9393
authEmulatorHost: process.env.FIREBASE_AUTH_EMULATOR_HOST
9494
};
9595
}
96-
97-
module.exports.files = getTestFiles(argv);

0 commit comments

Comments
 (0)