From 1f02b2591f029fa4bbfdbcd087b1cc5610091eee Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Tue, 15 Aug 2023 01:00:41 +0200 Subject: [PATCH] chore: prettier --- .github/workflows/ci.yml | 1 - test/integration/cluster.js | 5 ++--- test/integration/commands/pubsub.js | 6 +++++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d92c9ebd..f3bed73d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,6 @@ run-name: >- '' }} - on: push: branches: diff --git a/test/integration/cluster.js b/test/integration/cluster.js index f9986433c..6a236702f 100644 --- a/test/integration/cluster.js +++ b/test/integration/cluster.js @@ -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) }) - }) diff --git a/test/integration/commands/pubsub.js b/test/integration/commands/pubsub.js index cb7042281..74fddf0b6 100644 --- a/test/integration/commands/pubsub.js +++ b/test/integration/commands/pubsub.js @@ -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 () => {