Skip to content

Commit

Permalink
chore: fixed unit test as this should now work
Browse files Browse the repository at this point in the history
  • Loading branch information
bizob2828 committed Aug 13, 2024
1 parent 58a1637 commit 691fd99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/instrumentation/redis.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ tap.test('getRedisParams should behave as expected', function (t) {
t.test('if host/port are defined incorrectly, should return expected defaults', function (t) {
const params = getRedisParams({ host: 'myLocalHost', port: '1234' })
const expected = {
host: 'localhost',
port_path_or_id: '6379',
host: 'myLocalHost',
port_path_or_id: '1234',
database_name: 0
}
t.match(params, expected, 'should return sensible defaults if defined without socket')
Expand Down

0 comments on commit 691fd99

Please sign in to comment.