mirror of
https://github.com/iconify/collections-json.git
synced 2024-11-08 14:21:00 +00:00
20 lines
370 B
TypeScript
20 lines
370 B
TypeScript
|
import type { Config } from '@jest/types'
|
||
|
|
||
|
// see https://jestjs.io/docs/ecmascript-modules
|
||
|
|
||
|
// Sync object
|
||
|
const config: Config.InitialOptions = {
|
||
|
verbose: true,
|
||
|
moduleDirectories: [
|
||
|
'node_modules',
|
||
|
'src',
|
||
|
],
|
||
|
moduleFileExtensions: ['ts', 'js'],
|
||
|
extensionsToTreatAsEsm: ['.ts'],
|
||
|
transform: {
|
||
|
'^.+\\.ts$': 'ts-jest',
|
||
|
},
|
||
|
}
|
||
|
|
||
|
export default config
|