From 8e1e739d6657a5355525f650454f251bff0bff23 Mon Sep 17 00:00:00 2001 From: Marco Bambini Date: Sun, 27 Jul 2025 08:14:38 +0200 Subject: [PATCH 1/2] Update pubsub.test.ts (type renamed to sqlite_type) --- test/pubsub.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/pubsub.test.ts b/test/pubsub.test.ts index 8564954..da1f206 100644 --- a/test/pubsub.test.ts +++ b/test/pubsub.test.ts @@ -135,7 +135,7 @@ describe('pubSub', () => { expect(error).toBeNull() expect(results).not.toBeNull() - expect(results['payload'][0]['type']).toEqual('UPDATE') + expect(results['payload'][0]['sqlite_type']).toEqual('UPDATE') expect(results['payload'][0]['Name']).toEqual(newName) expect(data).toEqual({ pippo: 'pluto' }) callbackCalled = true From 09ee7144cb89be08389e2cb3c854aff515bf8bb5 Mon Sep 17 00:00:00 2001 From: Gioele Cantoni Date: Sun, 27 Jul 2025 19:48:48 +0200 Subject: [PATCH 2/2] fix(tests): skip pubSub test suite until the core gets updated with the new version --- package.json | 2 +- test/pubsub.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8741d1b..d5eec1a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sqlitecloud/drivers", - "version": "1.0.529", + "version": "1.0.573", "description": "SQLiteCloud drivers for Typescript/Javascript in edge, web and node clients", "main": "./lib/index.js", "types": "./lib/index.d.ts", diff --git a/test/pubsub.test.ts b/test/pubsub.test.ts index da1f206..1de38e7 100644 --- a/test/pubsub.test.ts +++ b/test/pubsub.test.ts @@ -2,7 +2,7 @@ import { SQLiteCloudRow } from '../src' import { getChinookDatabase, LONG_TIMEOUT } from './shared' import { PUBSUB_ENTITY_TYPE } from '../src/drivers/pubsub' -describe('pubSub', () => { +describe.skip('pubSub', () => { it( 'should listen, notify and receive pubSub messages on channel', async () => {