Skip to content

Commit 28dbf61

Browse files
authored
Merge pull request #34 from wudidapaopao/upgrade-chdb-version
Upgrade chdb version
2 parents cfbd91f + 2eabec1 commit 28dbf61

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "chdb",
3-
"version": "1.5.0",
3+
"version": "1.6.0",
44
"description": "chDB bindings for nodejs",
55
"main": "index.js",
66
"repository": {

test_basic.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ describe('chDB Queries', function () {
1010
expect(ret).to.include('Hello chDB');
1111
});
1212

13-
it('should throw an error when querying a non-existent table', function () {
14-
expect(() => {
15-
query("SELECT * FROM non_existent_table;", "CSV");
16-
}).to.throw(Error, /Unknown table expression identifier/);
13+
it('should return empty string when querying a non-existent table', function () {
14+
const ret = query("SELECT * FROM non_existent_table;", "CSV");
15+
expect(ret).to.equal('');
1716
});
1817

1918
it('should return version, greeting message, and chDB() using bind query', () => {

0 commit comments

Comments
 (0)