Skip to content

Commit

Permalink
chore: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Aug 14, 2023
1 parent b34e835 commit 1f02b25
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ run-name: >-
''
}}
on:
push:
branches:
Expand Down
5 changes: 2 additions & 3 deletions test/integration/cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ describe('cluster', () => {
})

it('can pass redis options to redis mock', () => {
const nodes = [{host: 'localhost', port: 7001}]
const options = {redisOptions: {lazyConnect: true}}
const nodes = [{ host: 'localhost', port: 7001 }]
const options = { redisOptions: { lazyConnect: true } }
const cluster = new Redis.Cluster(nodes, options)
expect(cluster.connected).toEqual(false)
})

})
6 changes: 5 additions & 1 deletion test/integration/commands/pubsub.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ runTwinSuite('pubsub', command => {
})

afterEach(async () => {
await Promise.all(testChannels.map(x => {return redis.unsubscribe(x)}))
await Promise.all(
testChannels.map(x => {
return redis.unsubscribe(x)
})
)
})

test('should return 0 when publishing without subscribers', async () => {
Expand Down

0 comments on commit 1f02b25

Please sign in to comment.