mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Dependencies: Jest 27 (#42681)
* Update jest monorepo * Update version of marked so it doesn't throw an error, set testEnvironment * Fix some unit tests * Remove all these tests that aren't actually working... * use spyOn instead of mocking the whole module * Fix linting Co-authored-by: Renovate Bot <bot@renovateapp.com>
This commit is contained in:
@@ -5,6 +5,7 @@ process.env.TZ = 'Pacific/Easter';
|
||||
|
||||
module.exports = {
|
||||
verbose: false,
|
||||
testEnvironment: 'jsdom',
|
||||
transform: {
|
||||
'^.+\\.(ts|tsx|js|jsx)$': require.resolve('ts-jest'),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user