Files
upstream-jitsi-meet/tests/prosody/package.json
upstream-mirror 1d2bfcac0c
Some checks failed
Prosody Plugin Tests / test (push) Failing after 10m11s
Close stale issues and PRs / stale (push) Failing after 1s
snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
2026-09-15 15:56:32 +05:00

26 lines
1.4 KiB
JSON

{
"name": "prosody-plugin-tests",
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {
"test:lua": "rm -f allure-results/*-result.json allure-results/TEST-lua-unit.xml 2>/dev/null; mkdir -p allure-results && if command -v busted > /dev/null 2>&1; then BUSTED=${HOME}/.luarocks/bin/busted; command -v \"$BUSTED\" > /dev/null 2>&1 || BUSTED=busted; SPEC_DIR=\"$(pwd)\"; (cd ../../resources/prosody-plugins && LUA_PATH=\"$SPEC_DIR/?.lua;;\" ALLURE_RESULTS_DIR=\"$SPEC_DIR/allure-results\" \"$BUSTED\" --output busted_allure \"$SPEC_DIR/lua/\"); fi",
"test:integration": "DEBUG=testcontainers,testcontainers:containers,testcontainers:build mocha",
"test:report": "npx allure generate allure-results --clean -o allure-report && node fix-allure-report.cjs",
"test": "npm run test:lua; LRC=$?; npm run test:integration; IRC=$?; npm run test:report; exit $(( LRC != 0 || IRC != 0 ))",
"test:one": "mocha --no-config --require ./setup.js --timeout 120000",
"build:test-image": "cd ../.. && docker build -t jitsi-meet-prosody-test:latest -f tests/prosody/docker/Dockerfile ."
},
"dependencies": {
"@xmpp/client": "^0.13.1",
"@xmpp/xml": "^0.13.1",
"jsonwebtoken": "^9.0.0",
"testcontainers": "^10.13.2"
},
"devDependencies": {
"allure-commandline": "2.32.0",
"allure-mocha": "^3.7.1",
"mocha": "^10.7.3"
}
}