mirror of
https://github.com/gravitational/teleport
synced 2024-10-21 17:53:28 +00:00
26f6022689
* Initial pass at lint and test GHA for UI. * Fix lint * Add --frozen-lockfile * Skip the e directory if it doesn't exist while linting. * Update failing snapshots. * use a more reasonable filter for eslint to support missing e * ignore type check on e imports. * ignore failing file that requires e teleterm file. * fix lint * quiet down the log output for prettier-write.
22 lines
593 B
JavaScript
22 lines
593 B
JavaScript
const config = require('@gravitational/build/jest/config');
|
|
|
|
process.env.TZ = 'UTC';
|
|
|
|
/** @type {import('@jest/types').Config.InitialOptions} */
|
|
module.exports = {
|
|
...config,
|
|
globals: {
|
|
electron: {},
|
|
},
|
|
testPathIgnorePatterns: [
|
|
// Skipped until e files are removed from teleterm.
|
|
'web/packages/teleterm/src/ui/TabHost/TabHost.test.tsx',
|
|
],
|
|
collectCoverageFrom: [
|
|
// comment out until shared directory is finished testing
|
|
// '**/packages/design/src/**/*.jsx',
|
|
'**/packages/shared/components/**/*.jsx',
|
|
],
|
|
coverageReporters: ['text-summary', 'lcov'],
|
|
};
|