You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does anyone know how to get duckdb-wasm working in jest? I'd like to write/test our browser duckdb code, and it has a more fully-featured api than node duckdb, and not need a façade wrapper to switch between them. The bare node example doesnt run, even updating the import to worker_threads, with an error:
TypeError: this._worker.addEventListener is not a function
at f.attach (...@duckdb\duckdb-wasm\dist\duckdb-node.cjs:1:13364)
at new f (...@duckdb\duckdb-wasm\dist\duckdb-node.cjs:1:13283)
at ...node-duckdb.js:21:20
Had a look #1445 - not sure it helps. I may have asked this question yesterday, thought I posted it however don't see it anymore & may have been deleted - if it's a dupe, how could you please post me a link to the dupe before deleting?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Does anyone know how to get duckdb-wasm working in jest? I'd like to write/test our browser duckdb code, and it has a more fully-featured api than node duckdb, and not need a façade wrapper to switch between them. The bare node example doesnt run, even updating the import to
worker_threads
, with an error:Had a look #1445 - not sure it helps. I may have asked this question yesterday, thought I posted it however don't see it anymore & may have been deleted - if it's a dupe, how could you please post me a link to the dupe before deleting?
Beta Was this translation helpful? Give feedback.
All reactions