You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/versioned_docs/version-29.7/GlobalAPI.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -250,7 +250,7 @@ Use `describe.each` if you keep duplicating the same test suites with different
250
250
-`%#` - Index of the test case.
251
251
-`%%` - single percent sign ('%'). This does not consume an argument.
252
252
- Or generate unique test titles by injecting properties of test case object with `$variable`
253
-
- To inject nested object values use you can supply a keyPath i.e. `$variable.path.to.value`
253
+
- To inject nested object values use you can supply a keyPath i.e. `$variable.path.to.value` (only works for ["own" properites](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwnProperty), e.g. `$obj.constructor.name` wouldn't work)
254
254
- You can use `$#` to inject the index of the test case
255
255
- You cannot use `$variable` with the `printf` formatting except for `%%`
256
256
-`fn`: `Function` the suite of tests to be run, this is the function that will receive the parameters in each row as function arguments.
0 commit comments