AleksanderSklorz 6a3c888f18
[ACS-9427] support md format of response for knowledge retrieval (#4502)
* [ACS-9427] Added library for markdown format

* [ACS-9427] Display tooltip with mermaid source code and preprocess markdown format

* [ACS-9427] Rendering mathematical formulas

* [ACS-9427] Styling tables

* [ACS-9427] Added support for programming code language in MD

* [ACS-9427] Fixed existing unit tests for search ai results component

* [ACS-9427] Unit tests for markdown data and rendering of markdown

* [ACS-9427] Unit tests for markdown containing mermaid and latex blocks

* [ACS-9427] Reverted unwanted change

* [ACS-9427] Fixed Sonar issues for regex

* [ACS-9427] Fixed Sonar issues for regex

* [ACS-9427] Fixed Sonar issues for regex

* [ACS-9427] Fixed Sonar issues for regex

* [ACS-9427] Fixed unit test

* [ACS-9427] Fixed unit test

* [ACS-9427] Fixed unit test
2025-04-07 08:10:20 +02:00

22 lines
714 B
JavaScript

// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html
const { join } = require('path');
const getBaseKarmaConfig = require('../../karma.conf');
module.exports = function (config) {
const baseConfig = getBaseKarmaConfig();
config.set({
...baseConfig,
coverageReporter: {
...baseConfig.coverageReporter,
dir: join(__dirname, '../../coverage/aca-content'),
},
files: [
'../../node_modules/katex/dist/katex.min.js',
'../../node_modules/katex/dist/contrib/auto-render.min.js',
'../../node_modules/katex/dist/katex.min.css',
'../../node_modules/mermaid/dist/mermaid.min.js'
]
});
};