mirror of
https://github.com/logto-io/logto.git
synced 2025-02-03 21:48:55 -05:00
12 lines
345 B
TypeScript
12 lines
345 B
TypeScript
import createConnector from './index.js';
|
|
import { mockedConfig } from './mock.js';
|
|
|
|
const getConfig = vi.fn().mockResolvedValue(mockedConfig);
|
|
|
|
describe('SendGrid connector', () => {
|
|
it('init without throwing errors', async () => {
|
|
await expect(createConnector({ getConfig })).resolves.not.toThrow();
|
|
});
|
|
|
|
// TODO: add test cases
|
|
});
|