From 6f66aa2f6e2cf1e5b5da678300d41db1fbbf177a Mon Sep 17 00:00:00 2001 From: Gioele Cantoni Date: Tue, 3 Jun 2025 15:45:55 +0200 Subject: [PATCH] fix(tests): add new properties to list database command expectations; increase android test timeout --- .github/workflows/test.yml | 8 ++++---- package.json | 2 +- test/core.test.ts | 16 ++++++++++++---- 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c26566e..84ed4c8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,7 +39,7 @@ jobs: - name: Upload Code Coverage uses: codecov/codecov-action@v4 env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} examples-test: needs: code-test @@ -144,7 +144,7 @@ jobs: if [ "$RUNNER_OS" != "Windows" ]; then bun i #re-installing dependencies in windows with bash causes a panic fi - + bun_test=$(bun start) if [[ "$bun_test" == *"Composer: 'Angus Young, Malcolm Young, Brian Johnson',"* ]]; then @@ -383,7 +383,7 @@ jobs: version: '15' name: 'React Native Android ${{matrix.version}} Test' - timeout-minutes: 30 + timeout-minutes: 40 runs-on: ubuntu-latest #android emulator on github actions works only on linux and old macos x86 builds, we can skip other os since the build and test process is going to be the same steps: @@ -511,7 +511,7 @@ jobs: version: '15' name: 'Expo Android ${{matrix.version}} Test' - timeout-minutes: 30 + timeout-minutes: 40 runs-on: ubuntu-latest #android emulator on github actions works only on linux and old macos x86 builds, we can skip other os since the build and test process is going to be the same steps: diff --git a/package.json b/package.json index ecbd499..e482fab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sqlitecloud/drivers", - "version": "1.0.515", + "version": "1.0.519", "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/core.test.ts b/test/core.test.ts index a4ffac4..9a80903 100644 --- a/test/core.test.ts +++ b/test/core.test.ts @@ -1346,7 +1346,9 @@ describe.each([ status: expect.any(Number), wal_size: expect.any(Number), shm_size: expect.any(Number), - cloudsync: null + cloudsync: null, + rls: null, + udf: null }) ) }) @@ -1371,7 +1373,9 @@ describe.each([ status: expect.any(Number), wal_size: expect.any(Number), shm_size: expect.any(Number), - cloudsync: null + cloudsync: null, + rls: null, + udf: null }) ) }) @@ -1396,7 +1400,9 @@ describe.each([ status: expect.any(Number), wal_size: expect.any(Number), shm_size: expect.any(Number), - cloudsync: null + cloudsync: null, + rls: null, + udf: null }) ) }) @@ -3949,7 +3955,9 @@ describe.each([ status: 1, wal_size: expect.any(Number), shm_size: expect.any(Number), - cloudsync: null + cloudsync: null, + rls: null, + udf: null }) chinook.close()