Skip to content

Commit

Permalink
Fixed API docs for Runner#loadConfigFile
Browse files Browse the repository at this point in the history
  • Loading branch information
sgravrock committed Oct 14, 2023
1 parent 3272c0d commit 83e59be
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/runner_base.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,12 @@ class RunnerBase {

/**
* Loads configuration from the specified file. The file can be a JSON file or
* any JS file that's loadable via require and provides a Jasmine config
* any JS file that's loadable as a module and provides a Jasmine config
* as its default export.
*
* The config file will be loaded via dynamic import() unless this Jasmine
* instance has already been configured with {jsLoader: 'require'}. Dynamic
* import() supports ES modules as well as nearly all CommonJS modules.
* @name Runner#loadConfigFile
* @function
* @param {string} [configFilePath=spec/support/jasmine.json]
Expand Down

0 comments on commit 83e59be

Please sign in to comment.