feat: add vitest config with junit output to test-results
Some checks failed
JavaScript SDK Tests / test-js-sdk (push) Failing after 20s
security-scanning / audit (push) Has been cancelled
package-tests / test-python-packages (map[name:aitbc-agent-sdk path:packages/py/aitbc-agent-sdk python_version:3.13]) (push) Failing after 10s
package-tests / test-python-packages (map[name:aitbc-core path:packages/py/aitbc-core python_version:3.13]) (push) Failing after 8s
package-tests / test-python-packages (map[name:aitbc-crypto path:packages/py/aitbc-crypto python_version:3.13]) (push) Successful in 8s
package-tests / test-python-packages (map[name:aitbc-sdk path:packages/py/aitbc-sdk python_version:3.13]) (push) Successful in 9s
package-tests / test-javascript-packages (map[name:aitbc-sdk node_version:24 path:packages/js/aitbc-sdk]) (push) Successful in 9s
package-tests / cross-language-compatibility (push) Has been skipped
package-tests / package-integration-tests (push) Has been skipped
integration-tests / test-service-integration (push) Successful in 3m25s

This commit is contained in:
2026-03-28 08:54:13 +01:00
parent 074e5fbfad
commit 34b6e6da7b

View File

@@ -0,0 +1,14 @@
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
reporters: ['verbose', 'junit'],
outputFile: {
junit: './test-results/junit.xml'
},
coverage: {
reporter: ['text', 'json', 'html'],
reportsDirectory: './test-results/coverage',
},
},
});