Skip to content

Commit 51426b1

Browse files
yorugacmstoykov
authored andcommitted
k6, js api: fix unexported options
1 parent 6e69af7 commit 51426b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/data/markdown/docs/02 javascript api/06 k6-execution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The `k6/execution` module provides the test execution information with the follo
1717
```javascript
1818
import exec from 'k6/execution';
1919

20-
const options = {
20+
export const options = {
2121
scenarios: {
2222
myscenario: {
2323
// this will be the returned name
@@ -134,7 +134,7 @@ The `name` property can be used for executing the logic based on which script is
134134
```javascript
135135
import exec from 'k6/execution';
136136

137-
const options = {
137+
export const options = {
138138
scenarios: {
139139
'the-first': {
140140
// ...

0 commit comments

Comments
 (0)