0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00

chore(core): fix connector typos (#411)

This commit is contained in:
IceHe.xyz 2022-03-17 23:01:15 +08:00 committed by GitHub
parent f085f08a8e
commit 8dd05f776f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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({});