@@ -146,15 +146,15 @@ describe('Test PostgresV2, parsePostgresError', () => {
146
146
147
147
it ( 'should update message with syntax error' , ( ) => {
148
148
// eslint-disable-next-line n8n-local-rules/no-unneeded-backticks
149
- const errorMessage = String . raw `syntax error at or near "seelect "` ;
149
+ const errorMessage = String . raw `syntax error at or near "select "` ;
150
150
const error = new Error ( ) ;
151
151
error . message = errorMessage ;
152
152
153
153
const parsedError = parsePostgresError ( node , error , [
154
- { query : 'seelect * from my_table' , values : [ ] } ,
154
+ { query : 'select * from my_table' , values : [ ] } ,
155
155
] ) ;
156
156
expect ( parsedError ) . toBeDefined ( ) ;
157
- expect ( parsedError . message ) . toEqual ( 'Syntax error at line 1 near "seelect "' ) ;
157
+ expect ( parsedError . message ) . toEqual ( 'Syntax error at line 1 near "select "' ) ;
158
158
expect ( parsedError instanceof NodeOperationError ) . toEqual ( true ) ;
159
159
} ) ;
160
160
} ) ;
@@ -201,7 +201,7 @@ describe('Test PostgresV2, addWhereClauses', () => {
201
201
expect ( updatedValues ) . toEqual ( [ 'public' , 'my_table' , 'id' , '1' , 'foo' , 'select 2' ] ) ;
202
202
} ) ;
203
203
204
- it ( 'should ignore incorect combine conition ad use AND' , ( ) => {
204
+ it ( 'should ignore incorrect combine condition ad use AND' , ( ) => {
205
205
const query = 'SELECT * FROM $1:name.$2:name' ;
206
206
const values = [ 'public' , 'my_table' ] ;
207
207
const whereClauses = [
@@ -246,7 +246,7 @@ describe('Test PostgresV2, addSortRules', () => {
246
246
expect ( updatedQuery ) . toEqual ( 'SELECT * FROM $1:name.$2:name ORDER BY $3:name DESC' ) ;
247
247
expect ( updatedValues ) . toEqual ( [ 'public' , 'my_table' , 'id' ] ) ;
248
248
} ) ;
249
- it ( 'should ignore incorect direction' , ( ) => {
249
+ it ( 'should ignore incorrect direction' , ( ) => {
250
250
const query = 'SELECT * FROM $1:name.$2:name' ;
251
251
const values = [ 'public' , 'my_table' ] ;
252
252
const sortRules = [ { column : 'id' , direction : 'SELECT * FROM my_table' } ] ;
@@ -340,7 +340,7 @@ describe('Test PostgresV2, replaceEmptyStringsByNulls', () => {
340
340
} ) ;
341
341
342
342
describe ( 'Test PostgresV2, prepareItem' , ( ) => {
343
- it ( 'should convert fixedColections values to object' , ( ) => {
343
+ it ( 'should convert fixedCollection values to object' , ( ) => {
344
344
const values = [
345
345
{
346
346
column : 'id' ,
0 commit comments