Skip to content

Commit c97f0ad

Browse files
committed
deps update
1 parent 6954f22 commit c97f0ad

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@
5050
"pg-query-stream": "4.12.0"
5151
},
5252
"devDependencies": {
53-
"@eslint/js": "9.39.2",
54-
"@types/node": "25.2.0",
53+
"@eslint/js": "10.0.1",
54+
"@types/node": "25.2.3",
5555
"coveralls": "3.1.1",
56-
"cspell": "9.6.3",
57-
"eslint": "9.39.2",
56+
"cspell": "9.6.4",
57+
"eslint": "10.0.0",
5858
"globals": "17.3.0",
5959
"jasmine-node": "3.0.0",
6060
"jsdoc": "4.0.5",

test/db.spec.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,12 +1160,12 @@ describe('Executing method query', () => {
11601160
describe('Transactions', () => {
11611161

11621162
// NOTE: The same test for 100,000 inserts works also the same.
1163-
// Inserting just 10,000 records to avoid exceeding memory quota on the test server.
1163+
// Inserting just 10,000 records to avoid exceeding the memory quota on the test server.
11641164
// Also, the client shouldn't execute more than 10,000 queries within a single transaction,
11651165
// huge transactions should be throttled into smaller chunks.
11661166
describe('A complex transaction with 10,000 inserts', () => {
11671167

1168-
let result, error, context, THIS, tag;
1168+
let result, context, THIS, tag;
11691169
beforeEach(done => {
11701170
dbSpec.tx('complex', function (t) {
11711171
tag = t.ctx.tag;
@@ -1186,12 +1186,11 @@ describe('Transactions', () => {
11861186

11871187
it('must not fail', () => {
11881188
expect(THIS === context).toBe(true);
1189-
expect(error).toBeUndefined();
11901189
expect(Array.isArray(result)).toBe(true);
11911190
expect(result.length).toBe(10003); // drop + create + insert x 10000 + select;
11921191
const last = result[result.length - 1]; // result from the select;
11931192
expect(typeof last).toBe('object');
1194-
expect(last.count).toBe('10000'); // last one must be the counter (as text);
1193+
expect(last.count).toBe('10000'); // the last one must be the counter (as text);
11951194
expect(tag).toBe('complex');
11961195
});
11971196
});
@@ -1232,7 +1231,7 @@ describe('Transactions', () => {
12321231
return t;
12331232
})
12341233
.then(obj => {
1235-
// cannot use transaction context outside of transaction callback:
1234+
// cannot use transaction context outside of the transaction callback:
12361235
return obj.query('select 123');
12371236
})
12381237
.catch(err => {

0 commit comments

Comments
 (0)