Skip to content

Commit

Permalink
Merge pull request #2436 from leancodepl/Albert221-patch-1
Browse files Browse the repository at this point in the history
Add language to code blocks in logs.mdx
  • Loading branch information
Albert221 authored Nov 27, 2024
2 parents 4ae701d + 880e1e8 commit befc4d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/logs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ In addition to console logs, you can review test results in a **native test repo

By default, enhanced logs are disabled when using `patrol_finders` without the `patrol` package. To enable them, pass the `printLogs: true` argument to the `PatrolTesterConfig` constructor:

```
```dart
patrolWidgetTest(
'throws exception when no widget to tap on is found',
config: const PatrolTesterConfig(printLogs: true),
Expand All @@ -110,7 +110,7 @@ patrolWidgetTest(
},
);
```
```
```dart
testWidgets(
'description',
(widgetTester) async {
Expand Down

0 comments on commit befc4d1

Please sign in to comment.