mirror of
https://github.com/microsoft/pyright.git
synced 2024-09-11 07:55:56 +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'
|
||
|
]
|
||
|
}
|
||
|
|