mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
a9b06a6129
Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
13 lines
413 B
TypeScript
13 lines
413 B
TypeScript
import { listConnectors } from '@/connector-api';
|
|
|
|
test('connector flow', async () => {
|
|
// List connectors after initializing a new Logto instance
|
|
const connectorDtos = await listConnectors();
|
|
|
|
// There should be no connectors, or all connectors should be disabled.
|
|
for (const connectorDto of connectorDtos) {
|
|
expect(connectorDto.enabled).toBeFalsy();
|
|
}
|
|
|
|
// Next up: set up a social connector
|
|
});
|