Skip to content

Commit

Permalink
Skip all neon test for now
Browse files Browse the repository at this point in the history
  • Loading branch information
openint-bot committed Feb 27, 2025
1 parent 3b6b50a commit cbf3e37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages-v1/db-v1/neon.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable jest/no-disabled-tests */
import {neon, neonConfig, Pool} from '@neondatabase/serverless'
import {env} from '@openint/env'

Expand All @@ -9,7 +10,7 @@ neonConfig.wsProxy =
? (host) => `${host}:4444/v1`
: undefined

test('node-postgres compatible Pool', async () => {
test.skip('node-postgres compatible Pool', async () => {
// neonConfig.webSocketConstructor = await import('ws) // when using Node.js

const pool = new Pool({connectionString: connectionStringUrl.toString()})
Expand Down Expand Up @@ -42,7 +43,7 @@ neonConfig.fetchEndpoint = (host) => {
return `${protocol}://${host}:${port}/sql`
}

describe('one-shot queries', () => {
describe.skip('one-shot queries', () => {
const sql = neon(env.DATABASE_URL)

test('Using single SQL query', async () => {
Expand All @@ -68,7 +69,6 @@ describe('one-shot queries', () => {

// Does not work at the moment
// Also unclear whether RLS authorize could work with multiple roles as in our setup, not just anon and authenticated
// eslint-disable-next-line jest/no-disabled-tests
describe.skip('RLS authorize', () => {
const sql = neon(env.DATABASE_URL, {
authToken:
Expand Down

0 comments on commit cbf3e37

Please sign in to comment.