teleport/jest.config.js
Ryan Clark 27ad839d47
Move jest, eslint & prettier to the root (#20698)
* Move jest, eslint & prettier to the root

* Update e ref
2023-01-25 17:19:22 +00:00

18 lines
443 B
JavaScript

const config = require('@gravitational/build/jest/config');
process.env.TZ = 'UTC';
/** @type {import('@jest/types').Config.InitialOptions} */
module.exports = {
...config,
globals: {
electron: {},
},
collectCoverageFrom: [
// comment out until shared directory is finished testing
// '**/packages/design/src/**/*.jsx',
'**/packages/shared/components/**/*.jsx',
],
coverageReporters: ['text-summary', 'lcov'],
};