Skip to content

Commit

Permalink
Improve a TODO comment in js/
Browse files Browse the repository at this point in the history
  • Loading branch information
na-- committed Jan 10, 2023
1 parent 0a2defd commit 9c9e35f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/initcontext.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ func NewInitContext(
moduleRegistry: getJSModules(),
exportsCache: make(map[string]goja.Value),
moduleVUImpl: &moduleVUImpl{
ctx: context.Background(), // TODO: pass a real context here as well?
// TODO: pass a real context as we did for https://github.com/grafana/k6/pull/2800,
// also see https://github.com/grafana/k6/pull/2800
ctx: context.Background(),
runtime: rt,
},
}
Expand Down

0 comments on commit 9c9e35f

Please sign in to comment.