22 * connection-tls.test.ts - test low level communication protocol with tls sockets and raw commands
33 */
44
5- import { SQLiteCloudTlsConnection } from '../src/index'
65import { SQLiteCloudError } from '../src/index'
76import { SQLiteCloudConnection , anonimizeCommand } from '../src/connection'
87import {
@@ -54,7 +53,7 @@ describe('connection-tls', () => {
5453
5554 it ( 'should connect with config object string' , done => {
5655 const configObj = getChinookConfig ( )
57- const conn = new SQLiteCloudTlsConnection ( configObj , error => {
56+ const conn = new SQLiteCloudConnection ( configObj , error => {
5857 expect ( error ) . toBeNull ( )
5958 expect ( conn . connected ) . toBe ( true )
6059
@@ -73,7 +72,7 @@ describe('connection-tls', () => {
7372 done ( )
7473 }
7574
76- const conn = new SQLiteCloudTlsConnection ( CHINOOK_DATABASE_URL , error => {
75+ const conn = new SQLiteCloudConnection ( CHINOOK_DATABASE_URL , error => {
7776 expect ( error ) . toBeNull ( )
7877 expect ( conn . connected ) . toBe ( true )
7978
@@ -93,7 +92,7 @@ describe('connection-tls', () => {
9392 delete testingConfig . password
9493
9594 try {
96- const conn = new SQLiteCloudTlsConnection ( testingConfig )
95+ const conn = new SQLiteCloudConnection ( testingConfig )
9796 } catch ( error ) {
9897 expect ( error ) . toBeDefined ( )
9998 expect ( error ) . toBeInstanceOf ( SQLiteCloudError )
0 commit comments