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:
parent
f085f08a8e
commit
8dd05f776f
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ describe('connector route', () => {
|
||||||
it('throws if more than one SMS connector is enabled', async () => {
|
it('throws if more than one SMS connector is enabled', async () => {
|
||||||
getConnectorInstancesPlaceHolder.mockResolvedValue(
|
getConnectorInstancesPlaceHolder.mockResolvedValue(
|
||||||
mockConnectorInstanceList.filter(
|
mockConnectorInstanceList.filter(
|
||||||
(connecotrInstance) => connecotrInstance.metadata.type !== ConnectorType.Email
|
(connectorInstance) => connectorInstance.metadata.type !== ConnectorType.Email
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
const response = await connectorRequest.get('/connectors').send({});
|
const response = await connectorRequest.get('/connectors').send({});
|
||||||
|
@ -75,7 +75,7 @@ describe('connector route', () => {
|
||||||
it('shows all connectors', async () => {
|
it('shows all connectors', async () => {
|
||||||
getConnectorInstancesPlaceHolder.mockResolvedValue(
|
getConnectorInstancesPlaceHolder.mockResolvedValue(
|
||||||
mockConnectorInstanceList.filter(
|
mockConnectorInstanceList.filter(
|
||||||
(connecotrInstance) => connecotrInstance.metadata.type === ConnectorType.Social
|
(connectorInstance) => connectorInstance.metadata.type === ConnectorType.Social
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
const response = await connectorRequest.get('/connectors').send({});
|
const response = await connectorRequest.get('/connectors').send({});
|
||||||
|
|
Loading…
Reference in a new issue