From 8dd05f776fdc18dbbc493170097d562ec471d1e1 Mon Sep 17 00:00:00 2001 From: "IceHe.xyz" Date: Thu, 17 Mar 2022 23:01:15 +0800 Subject: [PATCH] chore(core): fix connector typos (#411) --- packages/core/src/routes/connector.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/routes/connector.test.ts b/packages/core/src/routes/connector.test.ts index 24ba77e5e..bcbef5dc5 100644 --- a/packages/core/src/routes/connector.test.ts +++ b/packages/core/src/routes/connector.test.ts @@ -65,7 +65,7 @@ describe('connector route', () => { it('throws if more than one SMS connector is enabled', async () => { getConnectorInstancesPlaceHolder.mockResolvedValue( mockConnectorInstanceList.filter( - (connecotrInstance) => connecotrInstance.metadata.type !== ConnectorType.Email + (connectorInstance) => connectorInstance.metadata.type !== ConnectorType.Email ) ); const response = await connectorRequest.get('/connectors').send({}); @@ -75,7 +75,7 @@ describe('connector route', () => { it('shows all connectors', async () => { getConnectorInstancesPlaceHolder.mockResolvedValue( mockConnectorInstanceList.filter( - (connecotrInstance) => connecotrInstance.metadata.type === ConnectorType.Social + (connectorInstance) => connectorInstance.metadata.type === ConnectorType.Social ) ); const response = await connectorRequest.get('/connectors').send({});