diff --git a/packages/duckdb-wasm/test/httpfs_test.ts b/packages/duckdb-wasm/test/httpfs_test.ts index 6a0762d13..becc8cf43 100644 --- a/packages/duckdb-wasm/test/httpfs_test.ts +++ b/packages/duckdb-wasm/test/httpfs_test.ts @@ -312,5 +312,14 @@ export function testHTTPFSAsync( ), ).toBeRejectedWithError('Invalid Error: File is not opened in write mode'); }); + + it('avoid autoloading on not supported httpfs settings', async () => { + await setAwsConfig(conn!); + await expectAsync( + conn!.query( + `set s3_url_style = 'path';`, + ), + ).toBeRejectedWithError(/Catalog Error: unrecognized configuration parameter "s3_url_style"/); + }); }); }