We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17f9796 commit 2c6d9caCopy full SHA for 2c6d9ca
packages/duckdb-wasm/.gitignore
@@ -6,4 +6,5 @@
6
/duckdb_webapi.*
7
/dist
8
/docs
9
+/test_temp
10
*.d.ts.map
packages/duckdb-wasm/test/nodefs.test.ts
@@ -1,8 +1,14 @@
1
import * as duckdb from '../src/';
2
-import { tmpdir } from 'os';
3
import { randomUUID } from 'crypto';
4
-import path from 'path';
5
import { unlink } from 'fs/promises';
+import { mkdirSync } from 'fs';
+import path from 'path';
+
+const tmpdir = () => {
+ const tmp = path.resolve(__dirname, '../test_temp');
+ mkdirSync(tmp, { recursive: true });
+ return tmp;
11
+}
12
13
export function testNodeFS(db: () => duckdb.AsyncDuckDB): void {
14
const files: string[] = [];
0 commit comments