Skip to content

Commit 77d45f1

Browse files
authored
Merge pull request #251 from sqlitecloud/feature/jest-custom-reporter
test: improved test execution
2 parents a0cd3ff + c89d200 commit 77d45f1

File tree

8 files changed

+10
-4066
lines changed

8 files changed

+10
-4066
lines changed

examples/with-javascript-expo/.detoxrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module.exports = {
6161
type: 'ios.simulator',
6262
device: {
6363
type: 'iPhone SE (3rd generation)',
64-
os: 'iOS 18.0'
64+
os: 'iOS 18.6'
6565
}
6666
},
6767

examples/with-typescript-react-native/.detoxrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ module.exports = {
6060
type: 'ios.simulator',
6161
device: {
6262
type: 'iPhone SE (3rd generation)',
63-
os: 'iOS 18.0'
63+
os: 'iOS 18.6'
6464
}
6565
},
6666

jest.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ module.exports = {
1313
}
1414
]
1515
},
16-
// Other Jest configuration options
1716
reporters: [
1817
'default',
1918
[

package-lock.json

Lines changed: 2 additions & 2 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,14 +1,14 @@
11
{
22
"name": "@sqlitecloud/drivers",
3-
"version": "1.0.574",
3+
"version": "1.0.621",
44
"description": "SQLiteCloud drivers for Typescript/Javascript in edge, web and node clients",
55
"main": "./lib/index.js",
66
"types": "./lib/index.d.ts",
77
"files": [
88
"lib/**/*"
99
],
1010
"scripts": {
11-
"test": "jest --coverage --testPathIgnorePatterns=core",
11+
"test": "jest --silent --coverage",
1212
"build": "rm -rf ./lib/ && tsc --project tsconfig.build.json && npx webpack",
1313
"publish": "npm run build && npm publish --access public",
1414
"prettier": "prettier --write 'src/**/*'",

src/drivers/connection-tls.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ export class SQLiteCloudTlsConnection extends SQLiteCloudConnection {
6666
connector = tls.connectTLS
6767
}
6868

69+
this.processCallback = callback
70+
6971
this.socket = connector(connectionOptions, () => {
7072
if (this.config.verbose) {
7173
console.debug(`SQLiteCloudTlsConnection - connected to ${this.config.host}, authorized: ${this.socket?.authorized}`)

0 commit comments

Comments
 (0)