Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump connect-redis from 6.1.3 to 8.0.0 #24

Closed
wants to merge 1 commit into from

Bump connect-redis from 6.1.3 to 8.0.0

67f4b24
Select commit
Loading
Failed to load commit list.
Closed

Bump connect-redis from 6.1.3 to 8.0.0 #24

Bump connect-redis from 6.1.3 to 8.0.0
67f4b24
Select commit
Loading
Failed to load commit list.
Azure Pipelines / kth-node-session push failed Dec 1, 2024 in 41s

Build #20241201.2 had test failures

Details

Tests

  • Failed: 3 (100.00%)
  • Passed: 0 (0.00%)
  • Other: 0 (0.00%)
  • Total: 3

Annotations

Check failure on line 83 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / kth-node-session push

Build log #L83

Error: Npm failed with return code: 1

Check failure on line 1 in Session › should not allow a session without secret

See this annotation in the file changed.

@azure-pipelines azure-pipelines / kth-node-session push

Session › should not allow a session without secret

Test failed
Raw output
  ● Session › should not allow a session without secret

    TypeError: require(...) is not a function

      2 |
      3 | const session = require('express-session')
    > 4 | const RedisStore = require('connect-redis')(session)
        |                                            ^
      5 | const redis = require('redis')
      6 |
      7 | const oneHour = 3600 // time in seconds!

      at Object.<anonymous> (index.js:4:44)
      at Object.require (index.test.js:14:21)

Check failure on line 1 in Session › should not allow a session without a redis key

See this annotation in the file changed.

@azure-pipelines azure-pipelines / kth-node-session push

Session › should not allow a session without a redis key

Test failed
Raw output
  ● Session › should not allow a session without a redis key

    TypeError: require(...) is not a function

      2 |
      3 | const session = require('express-session')
    > 4 | const RedisStore = require('connect-redis')(session)
        |                                            ^
      5 | const redis = require('redis')
      6 |
      7 | const oneHour = 3600 // time in seconds!

      at Object.<anonymous> (index.js:4:44)
      at Object.require (index.test.js:14:21)

Check failure on line 1 in Session › should return a session middleware

See this annotation in the file changed.

@azure-pipelines azure-pipelines / kth-node-session push

Session › should return a session middleware

Test failed
Raw output
  ● Session › should return a session middleware

    TypeError: require(...) is not a function

      2 |
      3 | const session = require('express-session')
    > 4 | const RedisStore = require('connect-redis')(session)
        |                                            ^
      5 | const redis = require('redis')
      6 |
      7 | const oneHour = 3600 // time in seconds!

      at Object.<anonymous> (index.js:4:44)
      at Object.require (index.test.js:14:21)