grapesjs-plugins/grapesjs-advanced-selector/jest.config.cjs
Rama main · réplica de lectura del repositorio original.
module.exports = {
preset: 'ts-jest',
testEnvironment: 'jsdom',
roots: ['<rootDir>/src'],
moduleFileExtensions: ['ts', 'js'],
transform: {
'^.+\\.ts$': 'ts-jest',
'^.+\\.js$': 'babel-jest',
},
testMatch: ['**/*.test.ts', '**/*.test.js'], // Matches both .test.ts and .test.js files
};