mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 17:06:57 -06:00
2c9b321c48
* test apply * test apply * Move standard field config editor registry to grafana-data * merge master * Apply field config defaults * Make field and dataFrameIndex optional on on FieldOverrideContext * Apply custom field config overrides * Gauge - make sure thresholds are set * Move series and field scoped vars calculation * Enable template variables interpolation in title fields * Expose standars field configs from grafana ui via function * Add missing option to the config for the min value to be derived from field values * Fix ts issue Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
14 lines
555 B
JavaScript
14 lines
555 B
JavaScript
module.exports = {
|
|
verbose: false,
|
|
transform: {
|
|
'^.+\\.(ts|tsx)$': 'ts-jest',
|
|
},
|
|
moduleDirectories: ['node_modules', 'public'],
|
|
roots: ['<rootDir>/public/app', '<rootDir>/public/test', '<rootDir>/packages', '<rootDir>/scripts'],
|
|
testRegex: '(\\.|/)(test)\\.(jsx?|tsx?)$',
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json'],
|
|
setupFiles: ['jest-canvas-mock', './public/test/jest-shim.ts', './public/test/jest-setup.ts'],
|
|
snapshotSerializers: ['enzyme-to-json/serializer'],
|
|
globals: { 'ts-jest': { isolatedModules: true } },
|
|
};
|