Skip to content

Commit b984a94

Browse files
kineticjsflovogt
andcommitted
feat(ui5): Adapt to modern syntax
Co-authored-by: Florian Vogt <florian.vogt@sap.com>
1 parent 4c7d3e0 commit b984a94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/ui5/skills/ui5-best-practices-opa5/references/enable-testrecorder-tooling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The `sap.ui.testrecorder` library provides the module `sap.ui.testrecorder.Contr
5050
## Example Usage
5151
5252
```javascript
53-
sap.ui.require(["sap/ui/testrecorder/ControlTree"], async function (ControlTree) {
53+
sap.ui.require(["sap/ui/testrecorder/ControlTree"], async (ControlTree) => {
5454
// Navigate to the state where the anchor bar is visible, then:
5555
await ControlTree.search("anchorBar"); // When resolved, inspect the returned markdown snapshot and pick nodeId, e.g. Button nodeId="1_8" text="Methods"
5656

0 commit comments

Comments
 (0)