mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-13 17:52:38 +02:00
chore: ran linting
This commit is contained in:
parent
2f540ee065
commit
dbf575fbd0
23 changed files with 89 additions and 96 deletions
|
|
@ -1,8 +1,4 @@
|
|||
import {
|
||||
type ConnectorRow,
|
||||
deleteConnector,
|
||||
runComposioOAuth,
|
||||
} from "../../helpers/api/connectors";
|
||||
import { type ConnectorRow, deleteConnector, runComposioOAuth } from "../../helpers/api/connectors";
|
||||
import { searchSpaceFixtures } from "../search-space.fixture";
|
||||
|
||||
export type ComposioGmailFixtures = {
|
||||
|
|
@ -16,12 +12,7 @@ export type ComposioGmailFixtures = {
|
|||
|
||||
export const composioGmailFixtures = searchSpaceFixtures.extend<ComposioGmailFixtures>({
|
||||
composioGmailConnector: async ({ request, apiToken, searchSpace }, use) => {
|
||||
const { connector } = await runComposioOAuth(
|
||||
request,
|
||||
apiToken,
|
||||
searchSpace.id,
|
||||
"gmail"
|
||||
);
|
||||
const { connector } = await runComposioOAuth(request, apiToken, searchSpace.id, "gmail");
|
||||
if (!connector) {
|
||||
throw new Error(
|
||||
"composioGmailConnector fixture: OAuth completed but no connector was created. " +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue