openpencil/tests/helpers/test-utils.ts
Joseph Cumines c69e3884cf
fix(core): critical codec and canvas fixes
- Deduplicate plugin data and relaunch data during .fig parsing/export
- Unify shared plugin data into the pluginData storage path
- Refactor shadow rendering and harden CanvasKit font provider teardown
- Expand engine and renderer coverage
2026-05-05 14:58:02 +03:00

11 lines
428 B
TypeScript

import { describe } from 'bun:test'
// Tests that don't run are not useful, but it may be desirable to run only a short subset of tests.
// Set BUN_HEAVY_TESTS to false to skip tests marked as heavy, and set it to true to run them.
// By default, all tests are run.
export const heavy = describe.if(
process.env.BUN_HEAVY_TESTS
? ['1', 't', 'true'].includes(process.env.BUN_HEAVY_TESTS.trim().toLowerCase())
: true
)