booleanfalse--globalsProvide global Rstest APIs for test files, such as expect, test, describe, etc.
By default, Rstest does not provide global APIs. If you prefer to use the APIs globally like Jest, you can add globals: true in the config or pass the --globals option to CLI.
When you enable globals, you can use the global APIs directly without import { ... } from '@rstest/core'.
To enable TypeScript to properly recognize the global APIs, add the @rstest/core/globals type declaration in your tsconfig.json:
Alternatively, create a src/rstestEnv.d.ts file to reference the type definitions: