diff --git a/packages/duckdb-wasm/test/opfs.test.ts b/packages/duckdb-wasm/test/opfs.test.ts index 3ee306ebe..7e2523747 100644 --- a/packages/duckdb-wasm/test/opfs.test.ts +++ b/packages/duckdb-wasm/test/opfs.test.ts @@ -296,7 +296,7 @@ export function testOPFS(baseDir: string, bundle: () => duckdb.DuckDBBundle): vo await opfsRoot.removeEntry('test.parquet').catch(() => { }); try { - let datadir = await opfsRoot.getDirectoryHandle('datadir'); + const datadir = await opfsRoot.getDirectoryHandle('datadir'); datadir.removeEntry('test.parquet').catch(() => { }); } catch (e) {