Skip to content

Commit 661fbf9

Browse files
committed
feat(ui5): Add missing use strict
1 parent df1ab2e commit 661fbf9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ The `sap.ui.testrecorder` library provides the module `sap.ui.testrecorder.Contr
5151
5252
```javascript
5353
sap.ui.require(["sap/ui/testrecorder/ControlTree"], async (ControlTree) => {
54+
"use strict";
5455
// Navigate to the state where the anchor bar is visible, then:
5556
await ControlTree.search("anchorBar"); // When resolved, inspect the returned markdown snapshot and pick nodeId, e.g. Button nodeId="1_8" text="Methods"
5657

0 commit comments

Comments
 (0)