Skip to content

Commit 83e59be

Browse files
committed
Fixed API docs for Runner#loadConfigFile
1 parent 3272c0d commit 83e59be

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/runner_base.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,12 @@ class RunnerBase {
6767

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

0 commit comments

Comments
 (0)