From ad9b19275494a3965361ccd67d61299ecceb88a8 Mon Sep 17 00:00:00 2001 From: arkw Date: Thu, 14 Nov 2024 10:29:38 +0900 Subject: [PATCH] fix test for using file in dirrectory --- packages/duckdb-wasm/test/opfs.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {