nit: you are already defining a value for `scenarios` below, there is no need to create an empty array here.

```diff
-    scenarios = [];
+   scenarios;
```