update :: Update docs/src/test-api/class-test.md (@dgozman)

This commit is contained in:
osohyun0224 2024-09-17 18:57:31 +09:00
parent 4c3dbacd2c
commit 80047bfcbc

View file

@ -1711,10 +1711,9 @@ Step body.
Whether to box the step in the report. Defaults to `false`. When the step is boxed, errors thrown from the step internals point to the step call site. See below for more details. Whether to box the step in the report. Defaults to `false`. When the step is boxed, errors thrown from the step internals point to the step call site. See below for more details.
### option: Test.step.location ### option: Test.step.location
* since: v1.50 * since: v1.48
- `location` <[Object]> - `location` <[Location]>
Specifies a custom location for the step to be shown in test reports. By default, location of the [`method: Test.step`] call is shown.
Specifies a custom location for a test step as { file, line, column }, enabling precise error reporting within user code.
## method: Test.use ## method: Test.use
* since: v1.10 * since: v1.10