f721a21d0f
* initial commit for adding chartt lib with pennant chart * add pennant package, fix dynamic import of chart * use updated pennant library * Create separate chart and depth-chart libs * Remove leftover generated files * Use more targeted queries and subscriptions * Fix jestConfig value for depth-chart * Add jest-canvas-mock * Refactor updateDepthUpdate function * Add updateDpethUpdate test * Add jest-canvas-mock to chart tests * Avoid using any type in test * Use correct casing for gql queries and subscriptions * Make ButtonRadio generic in option value type * Add padding and margin to chart container * Remove unused subscriptions and methods from data source * Use correct React imports Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
11 lines
286 B
JavaScript
11 lines
286 B
JavaScript
module.exports = {
|
|
displayName: 'depth-chart',
|
|
preset: '../../jest.preset.js',
|
|
transform: {
|
|
'^.+\\.[tj]sx?$': 'babel-jest',
|
|
},
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
|
coverageDirectory: '../../coverage/libs/depth-chart',
|
|
setupFiles: ['jest-canvas-mock'],
|
|
};
|