Skip to content

Commit c8f36ae

Browse files
authored
fix(tests): add new properties to list database command expectations; increase android test timeout (#240)
1 parent 9a9d43a commit c8f36ae

File tree

3 files changed

+17
-9
lines changed

3 files changed

+17
-9
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Upload Code Coverage
4040
uses: codecov/codecov-action@v4
4141
env:
42-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
42+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4343

4444
examples-test:
4545
needs: code-test
@@ -144,7 +144,7 @@ jobs:
144144
if [ "$RUNNER_OS" != "Windows" ]; then
145145
bun i #re-installing dependencies in windows with bash causes a panic
146146
fi
147-
147+
148148
bun_test=$(bun start)
149149
150150
if [[ "$bun_test" == *"Composer: 'Angus Young, Malcolm Young, Brian Johnson',"* ]]; then
@@ -383,7 +383,7 @@ jobs:
383383
version: '15'
384384

385385
name: 'React Native Android ${{matrix.version}} Test'
386-
timeout-minutes: 30
386+
timeout-minutes: 40
387387
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
388388

389389
steps:
@@ -511,7 +511,7 @@ jobs:
511511
version: '15'
512512

513513
name: 'Expo Android ${{matrix.version}} Test'
514-
timeout-minutes: 30
514+
timeout-minutes: 40
515515
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
516516

517517
steps:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sqlitecloud/drivers",
3-
"version": "1.0.515",
3+
"version": "1.0.519",
44
"description": "SQLiteCloud drivers for Typescript/Javascript in edge, web and node clients",
55
"main": "./lib/index.js",
66
"types": "./lib/index.d.ts",

test/core.test.ts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,7 +1346,9 @@ describe.each([
13461346
status: expect.any(Number),
13471347
wal_size: expect.any(Number),
13481348
shm_size: expect.any(Number),
1349-
cloudsync: null
1349+
cloudsync: null,
1350+
rls: null,
1351+
udf: null
13501352
})
13511353
)
13521354
})
@@ -1371,7 +1373,9 @@ describe.each([
13711373
status: expect.any(Number),
13721374
wal_size: expect.any(Number),
13731375
shm_size: expect.any(Number),
1374-
cloudsync: null
1376+
cloudsync: null,
1377+
rls: null,
1378+
udf: null
13751379
})
13761380
)
13771381
})
@@ -1396,7 +1400,9 @@ describe.each([
13961400
status: expect.any(Number),
13971401
wal_size: expect.any(Number),
13981402
shm_size: expect.any(Number),
1399-
cloudsync: null
1403+
cloudsync: null,
1404+
rls: null,
1405+
udf: null
14001406
})
14011407
)
14021408
})
@@ -3949,7 +3955,9 @@ describe.each([
39493955
status: 1,
39503956
wal_size: expect.any(Number),
39513957
shm_size: expect.any(Number),
3952-
cloudsync: null
3958+
cloudsync: null,
3959+
rls: null,
3960+
udf: null
39533961
})
39543962

39553963
chinook.close()

0 commit comments

Comments
 (0)