Skip to content

Commit

Permalink
Ensure k6 init creates a valid JS script when all blocks are uncomm…
Browse files Browse the repository at this point in the history
…ented
  • Loading branch information
andrewslotin committed Oct 18, 2023
1 parent 3b11b70 commit 0650325
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,12 @@ export const options = {
//
// scenarios: {
// // The scenario name appears in the result summary, tags, and so on.
// SCENARIO NAME: {
// // Mandatory parameter for browser-based tests.
// // You can give the scenario any name, as long as each name in the script is unique.
// ui: {
// // Executor is a mandatory parameter for browser-based tests.
// // Shared iterations in this case tells k6 to reuse VUs to execute iterations.
// //
// // See https://k6.io/docs/using-k6/scenarios/executors/ for other executor types.
// executor: 'shared-iterations',
// options: {
// browser: {
Expand Down

0 comments on commit 0650325

Please sign in to comment.