Skip to content

Commit

Permalink
Recommend using the globally available timers
Browse files Browse the repository at this point in the history
  • Loading branch information
mstoykov committed Jul 17, 2024
1 parent 4f83bec commit 57e509d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/jsmodules.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ func getInternalJSModules() map[string]interface{} {
"k6/experimental/webcrypto": webcrypto.New(),
"k6/experimental/websockets": &expws.RootModule{},
"k6/experimental/timers": newWarnExperimentalModule(timers.New(),
"Please update your imports to use k6/timers instead of k6/experimental/timers,"+
" which will be removed after September 23rd, 2024 (v0.54.0). Ensure your scripts are migrated by then."+
" There are no API changes, so this is a drop in replacement."),
"The exports of `k6/experimental/timers` as globally available, so no need to import them."+
" The emodule will be removed after September 23rd, 2024 (v0.54.0). Ensure your scripts are migrated by then."+
" There are no API changes, so this is a drop in replacement and is also available under `k6/timers`."),
"k6/experimental/tracing": tracing.New(),
"k6/experimental/browser": newWarnExperimentalModule(browser.NewSync(),
"Please update your imports to use k6/browser instead of k6/experimental/browser,"+
Expand Down

0 comments on commit 57e509d

Please sign in to comment.