You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any server tests triggered on a PR fail, see for example this.
Tests output:
Assertion failed: You must provide either mongoUrl|clientPromise|client in options
/home/runner/work/fedi-trustroots/fedi-trustroots/node_modules/connect-mongo/build/main/lib/MongoStore.js:119
throw new Error('Cannot init client. Please provide correct options');
^
Error: Cannot init client. Please provide correct options
at new MongoStore (/home/runner/work/fedi-trustroots/fedi-trustroots/node_modules/connect-mongo/build/main/lib/MongoStore.js:119:19)
at Function.create (/home/runner/work/fedi-trustroots/fedi-trustroots/node_modules/connect-mongo/build/main/lib/MongoStore.js:136:16)
at Object.module.exports.initSession (/home/runner/work/fedi-trustroots/fedi-trustroots/config/lib/express.js:206:25)
at Object.module.exports.init (/home/runner/work/fedi-trustroots/fedi-trustroots/config/lib/express.js:486:8)
at Suite.<anonymous> (/home/runner/work/fedi-trustroots/fedi-trustroots/modules/admin/tests/server/admin.acquisition-stories.server.routes.tests.js:8:23)
at Object.create (/home/runner/work/fedi-trustroots/fedi-trustroots/node_modules/gulp-mocha/node_modules/mocha/lib/interfaces/common.js:112:19)
at context.describe.context.context (/home/runner/work/fedi-trustroots/fedi-trustroots/node_modules/gulp-mocha/node_modules/mocha/lib/interfaces/bdd.js:40:27)
at Object.<anonymous> (/home/runner/work/fedi-trustroots/fedi-trustroots/modules/admin/tests/server/admin.acquisition-stories.server.routes.tests.js:6:1)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:9[50](https://github.com/OpenHospitalityNetwork/fedi-trustroots/runs/5341236836?check_suite_focus=true#step:9:50):32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:101:18)
at /home/runner/work/fedi-trustroots/fedi-trustroots/node_modules/gulp-mocha/node_modules/mocha/lib/mocha.js:250:27
at Array.forEach (<anonymous>)
at Mocha.loadFiles (/home/runner/work/fedi-trustroots/fedi-trustroots/node_modules/gulp-mocha/node_modules/mocha/lib/mocha.js:247:14)
at Mocha.run (/home/runner/work/fedi-trustroots/fedi-trustroots/node_modules/gulp-mocha/node_modules/mocha/lib/mocha.js:[57](https://github.com/OpenHospitalityNetwork/fedi-trustroots/runs/5341236836?check_suite_focus=true#step:9:57)6:10)
at Object.<anonymous> (/home/runner/work/fedi-trustroots/fedi-trustroots/node_modules/gulp-mocha/node_modules/mocha/bin/_mocha:[63](https://github.com/OpenHospitalityNetwork/fedi-trustroots/runs/5341236836?check_suite_focus=true#step:9:63)7:18)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:[75](https://github.com/OpenHospitalityNetwork/fedi-trustroots/runs/5341236836?check_suite_focus=true#step:9:75):12)
at internal/main/run_main_module.js:17:47
It happens since I synched the repo with upstream (Trustroots) where this GH Action was set up.
The text was updated successfully, but these errors were encountered:
Any server tests triggered on a PR fail, see for example this.
Tests output:
It happens since I synched the repo with upstream (Trustroots) where this GH Action was set up.
The text was updated successfully, but these errors were encountered: