mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-27 08:21:03 +02:00
18 lines
339 B
JavaScript
18 lines
339 B
JavaScript
// Test configuration
|
|
// See https://jestjs.io/docs/configuration#testenvironment-string
|
|
|
|
const config = {
|
|
preset: 'ts-jest',
|
|
|
|
// File extensions for imports, in order of precedence:
|
|
// prefer importing from .ts or .tsx to importing from .js
|
|
// files.
|
|
moduleFileExtensions: [
|
|
'ts',
|
|
'tsx',
|
|
'js',
|
|
],
|
|
};
|
|
|
|
module.exports = config;
|