Skip to content

auto-gen'd graphql resources #159

auto-gen'd graphql resources

auto-gen'd graphql resources #159

GitHub Actions / API Test Output failed Oct 9, 2023 in 0s

Jest Test Results

These are all the test results I was able to find from your jest-junit reporter

423 tests were completed in 86.014s with 420 passed ✔ and 3 failed ✖ tests.

Following tests failed, but could not be found in the source files:

  • invite token claims are assigned from x-ss-survey-invite-token

  • invalid tokens are ignored

Annotations

Check failure on line 37 in ./packages/api/tests/users.test.ts

See this annotation in the file changed.

@github-actions github-actions / API Test Output

User lists > Admins can list project participants who have shared a profile

TypeError: Caught error after test environment was torn down
engine is not a function

Stacktrace:
    at Object.getEngine (packages/api/node_modules/node-rsa/src/encryptEngines/encryptEngines.js:15:16)
    at RSAKey.module.exports.Key.RSAKey.setOptions (packages/api/node_modules/node-rsa/src/libs/rsa.js:85:45)
    at NodeRSA.module.exports.NodeRSA.setOptions (packages/api/node_modules/node-rsa/src/NodeRSA.js:146:22)
    at new NodeRSA (packages/api/node_modules/node-rsa/src/NodeRSA.js:78:14)
    at createKey (packages/api/src/auth/jwks.ts:116:17)
    at createNewKeyset (packages/api/src/auth/jwks.ts:84:15)
    at rotateKeys (packages/api/src/auth/jwks.ts:76:17)
    at Object.<anonymous> (packages/api/tests/surveyInviteMiddleware.test.ts:13:3)