some things are working

This commit is contained in:
@s.roertgen 2024-11-21 16:27:08 +01:00
parent 83ff1e86ac
commit 31aceb49c7
21 changed files with 2767 additions and 371 deletions

27
karma.conf.js Normal file
View file

@ -0,0 +1,27 @@
module.exports = function (config) {
var junitOutputDir = process.env.CIRCLE_TEST_REPORTS || "target/junit"
config.set({
browsers: ['ChromeHeadless'],
basePath: 'target',
files: ['karma-test.js'],
frameworks: ['cljs-test'],
plugins: [
'karma-cljs-test',
'karma-chrome-launcher',
'karma-junit-reporter'
],
colors: true,
logLevel: config.LOG_INFO,
client: {
args: ['shadow.test.karma.init']
},
// the default configuration
junitReporter: {
outputDir: junitOutputDir + '/karma', // results will be saved as outputDir/browserName.xml
outputFile: undefined, // if included, results will be saved as outputDir/browserName/outputFile
suite: '' // suite will become the package name attribute in xml testsuite element
}
})
}