diff --git a/ui/jest.config.ts b/ui/jest.config.ts index 72adbd16d..7b21edd20 100644 --- a/ui/jest.config.ts +++ b/ui/jest.config.ts @@ -28,7 +28,7 @@ export default { moduleNameMapper: { // Force module uuid to resolve with the CJS entry point, because Jest does not support package.json.exports. See https://github.com/uuidjs/uuid/issues/451 uuid: require.resolve('uuid'), - '\\.(css|less|sass|scss)$': '/src/mocks/styleMock.js', + '\\.(css)$': '/src/mocks/styleMock.js', }, transformIgnorePatterns: ['node_modules/@splunk/dashboard-presets/EnterpriseViewOnlyPreset'], } satisfies Config;