Files
Jake Teton-LandisandGitHub f8f7c7b491 Inspect and iterate handles (#200)
* getOwnPropertyNames flags

* getLength

* getPropNames, QuicJSIterator

* isEqual

* wip codegen

* DisposableResult

* fix new ffi typings

* wip

* upgrade emcc

* iterate on build

* regen

* new doc

* adjust DisposableResult impl and union

* fix types more

* getPropNames passing

* getPropNames -> getOwnPropertyNames

* Iterator -> IterableIterator

* improve getOwnPropertyNames docs

* improve iteration docs and add defaults to getOwnPropertyNames

* add callMethod convinience function

* add callFunction example

* enable debug logging per runtime

* regen

* docs for debug mode changes

* debug log improvement

* runtime data func not callable from js

* regen

* fix build issue

* gen doc

* doc

* for some reason lockfile changed

* test: turn on debug mode via env var

* fix test leak

* changelog, naming adjustments

* fix type rename error

* fix node test build

* tweak to ensure path stuff doesnt affect build

* restore previous build tsconfig

* disable asyncify-advise, its just really spammy

* derp naming

* stuff

* [[ -> [ for docker build

* lint
2024-08-31 21:34:22 +00:00

16 lines
338 B
TypeScript

import { defineConfig } from "vitest/config"
import tsconfigPaths from "vite-tsconfig-paths"
export default defineConfig({
// Incantation needed for vite to not barf on "using" statement
esbuild: {
target: "es2020",
},
plugins: [tsconfigPaths()],
test: {
onStackTrace(_error, _frame) {
return true
},
},
})