Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyxiao committed Feb 10, 2024
1 parent af75c36 commit 15192e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {z} from 'zod'
export const env = createEnv({
server: {
NANGO_SECRET_KEY: z.string(),
SUPAGLUE_API_KEY: z.string(),
SUPAGLUE_API_KEY: z.string().optional(),
},
client: {
NEXT_PUBLIC_NANGO_PUBLIC_KEY: z.string(),
Expand Down
2 changes: 1 addition & 1 deletion packages/vdk/supaglueProxyLink.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {supaglueProxyLink} from './supaglueProxyLink'

jest.setTimeout(30 * 1000)

const maybeTest = process.env['NANGO_SECRET_KEY'] ? test : test.skip
const maybeTest = process.env['SUPAGLUE_API_KEY'] ? test : test.skip

maybeTest('get outreach accounts', async () => {
const client = initSDK(outreachSdkDef, {
Expand Down
2 changes: 1 addition & 1 deletion packages/worker/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {initNangoSDK} from '@opensdks/sdk-nango'
export const env = createEnv({
server: {
NANGO_SECRET_KEY: z.string(),
SUPAGLUE_API_KEY: z.string(),
SUPAGLUE_API_KEY: z.string().optional(),
POSTGRES_URL: z.string(),
},
runtimeEnv: process.env,
Expand Down

0 comments on commit 15192e2

Please sign in to comment.