Skip to content

Bump connect-redis from 6.1.3 to 8.0.1

342512c
Select commit
Loading
Failed to load commit list.
Open

Bump connect-redis from 6.1.3 to 8.0.1 #27

Bump connect-redis from 6.1.3 to 8.0.1
342512c
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Azure Pipelines / kth-node-session push failed Feb 1, 2025 in 21s

Build #20250201.1 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)