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

Test Configurations

include
exclude
includeSource
globals
setupFiles
testEnvironment
testNamePattern
testTimeout
retry
root
name
isolate
pool
passWithNoTests
printConsoleTrace
onConsoleLog
disableConsoleIntercept
update
clearMocks
resetMocks
restoreMocks
unstubEnvs
unstubGlobals
maxConcurrency
slowTestThreshold

Build Configurations

plugins
source
output
resolve
tools
dev
performance

#unstubGlobals

  • Type: boolean
  • Default: false

Restores all global variables that were changed with rstest.stubGlobal before every test.

📝 Edit this page on GitHub
Previous PageunstubEnvs
Next PagemaxConcurrency