This commit is contained in:
dal 2025-09-10 10:52:35 -06:00 committed by Wells Bunker
parent da4b5c0b3a
commit 85f35ccf8d
No known key found for this signature in database
GPG Key ID: DB16D6F2679B78FC
2 changed files with 7 additions and 4 deletions

View File

@ -31,7 +31,7 @@ export default defineConfig({
'@duckdb/node-bindings-linux-arm64',
'@duckdb/node-bindings-darwin-x64',
'@duckdb/node-bindings-darwin-arm64',
'@duckdb/node-bindings-win32-x64'
'@duckdb/node-bindings-win32-x64',
],
extensions: [
esbuildPlugin({

View File

@ -168,8 +168,11 @@ describe('DuckDB Connection Management', () => {
const connection = await createConnection();
expect(connection).toBeDefined();
expect(connection.db).toBeDefined();
expect(connection.conn).toBeDefined();
// dbPath is optional, only present when using disk storage
if (connection.dbPath) {
expect(typeof connection.dbPath).toBe('string');
}
// Should close without error
await expect(closeConnection(connection)).resolves.toBeUndefined();