Conversation
|
pkg.pr.new packages benchmark commit |
📊 Bundle Size Comparison
👀 Notable resultsStatic test results:No major changes. Dynamic test results:No major changes. 📋 All resultsClick to reveal the results table (348 entries).
If you wish to run a comparison for other, slower bundlers, run the 'Tree-shake test' from the GitHub Actions menu. |
There was a problem hiding this comment.
Pull request overview
Updates Vitest setup to disable @ark/attest type-checking by default (to avoid IDE Vitest stalls), while keeping an explicit opt-in for running attest-enabled test runs.
Changes:
- Add
ENABLE_ATTESTenv-gated logic inpackages/typegpuVitest global setup to control@ark/attest’sskipTypes. - Update root test scripts so attest type-checking runs only when explicitly enabled (
test:unit-and-attest), while regulartest:unitruns without it.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packages/typegpu/setupVitest.ts | Adds env parsing and wires skipTypes to opt-in attest runs via ENABLE_ATTEST. |
| package.json | Adjusts test:* scripts to use ENABLE_ATTEST=1 for attest-enabled runs and default to skipping attest type checks. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
cieplypolar
left a comment
There was a problem hiding this comment.
Now, I can run tests from IDE without waiting!
Thanks to this change, running Vitest tests through the IDE will no longer cause stalls.