mirror of
https://github.com/microsoft/pyright.git
synced 2024-08-15 02:40:38 +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'
|
|
]
|
|
}
|
|
|