mirror of
https://github.com/microsoft/pyright.git
synced 2024-10-05 20:38:25 +03:00
26 lines
350 B
JavaScript
26 lines
350 B
JavaScript
/*
|
|
* jest.config.js
|
|
*
|
|
* Configuration for jest tests.
|
|
*/
|
|
|
|
module.exports = {
|
|
'roots': [
|
|
'<rootDir>/src',
|
|
'<rootDir>/tests'
|
|
],
|
|
'transform': {
|
|
'^.+\\.tsx?$': 'ts-jest'
|
|
},
|
|
'testRegex': '(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$',
|
|
'moduleFileExtensions': [
|
|
'ts',
|
|
'tsx',
|
|
'js',
|
|
'jsx',
|
|
'json',
|
|
'node'
|
|
]
|
|
}
|
|
|