dev
Options for local development.
dev.writeToDisk
dev.writeToDisk
- Type:
boolean | ((filename: string) => boolean) - Default:
false - CLI:
--dev.writeToDisk
Controls whether temporary test build files are written to disk. By default, Rstest keeps build outputs in memory; enable this when debugging generated test bundles.
With dev.writeToDisk: true, Node.js workers read the build output directly from disk, which reduces main-process memory usage for large test bundles.
rstest.config.ts