close
logo
Rstest
Guide
Config
API
English
简体中文
Guide
Config
API
English
简体中文
logo
Rstest
Overview

Test Configurations

root
name
include
exclude
setupFiles
projects
update
globals
passWithNoTests
includeSource
testNamePattern
env
retry
testTimeout
hookTimeout
maxConcurrency
pool
isolate
testEnvironment
clearMocks
resetMocks
restoreMocks
unstubEnvs
unstubGlobals
coverage
reporters
hideSkippedTests
slowTestThreshold
snapshotFormat
resolveSnapshotPath
printConsoleTrace
onConsoleLog
disableConsoleIntercept

Build Configurations

plugins
source
output
resolve
tools
dev
performance

#tools

Options for low-level tools.

#tools.bundlerChain tools.bundlerChaintools.bundlerChain

rspack-chain is a utility library for configuring Rspack. By using rspack-chain, you can more easily modify and extend Rspack configurations.

#tools.rspack tools.rspacktools.rspack

tools.rspack is used to configure Rspack.

#tools.swc tools.swctools.swc

You can set the options of builtin:swc-loader through tools.swc.

📝 Edit this page on GitHub
Previous Pageresolve
Next Pagedev