Skip to content

Commit 20db257

Browse files
Rewrite of tls connection
Changes in test suite Tests not yet stable
1 parent c163438 commit 20db257

18 files changed

+442
-268
lines changed

.env.example

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11

22
# chinook database used in non-destructive tests
3-
CHINOOK_DATABASE_URL="sqlitecloud://user:password@xxx.sqlite.cloud:8860/chinook.db"
4-
5-
# testing databases are created automatically as testing-xxx.db and used in destructive tests
6-
TESTING_DATABASE_URL="sqlitecloud://user:password@xxx.sqlite.cloud:8860/testing.db"
3+
CHINOOK_DATABASE_URL="sqlitecloud://user:password@xxx.sqlite.cloud:8860/chinook.sqlite"
74

85
# sqlite cloud gateway for socket.io connections
96
GATEWAY_URL=ws://localhost:4000

.github/workflows/build-test-deploy.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ jobs:
5454
- name: Jest Tests
5555
env:
5656
CHINOOK_DATABASE_URL: ${{ secrets.CHINOOK_DATABASE_URL }}
57-
TESTING_DATABASE_URL: ${{ secrets.TESTING_DATABASE_URL }}
5857
GATEWAY_URL: ${{ secrets.GATEWAY_URL }}
5958
run: npm test
6059
- name: Upload Code Coverage

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module.exports = {
22
preset: 'ts-jest',
33
testEnvironment: 'node',
44
testMatch: ['**/test/**/*.test.ts'],
5-
maxWorkers: 12,
5+
maxWorkers: 4,
66
collectCoverageFrom: ['<rootDir>/src/**/*.ts', '!<rootDir>/src/index.ts', '!<rootDir>/src/types/**/*.ts'],
77
transform: {
88
'^.+\\.(ts|tsx)$': [

package-lock.json

Lines changed: 81 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sqlitecloud/drivers",
3-
"version": "0.0.50",
3+
"version": "0.0.52",
44
"description": "SQLiteCloud drivers for Typescript/Javascript in edge, web and node clients",
55
"main": "./lib/index.js",
66
"types": "./lib/index.d.ts",
@@ -47,7 +47,6 @@
4747
"homepage": "https://github.com/sqlitecloud/sqlitecloud-js#readme",
4848
"dependencies": {
4949
"eventemitter3": "^5.0.1",
50-
"express": "^4.18.2",
5150
"lz4js": "^0.2.0",
5251
"socket.io": "^4.7.4",
5352
"socket.io-client": "^4.7.4"
@@ -66,6 +65,7 @@
6665
"eslint-config-prettier": "^8.10.0",
6766
"eslint-plugin-node": "^11.1.0",
6867
"eslint-plugin-prettier": "^3.4.1",
68+
"express": "^4.18.2",
6969
"jest": "^29.7.0",
7070
"prettier": "^2.2.1",
7171
"sqlite3": "^5.1.6",

public/sqlitecloud.drivers.dev.js

Lines changed: 4 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/sqlitecloud.drivers.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)