We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3272c0d commit 83e59beCopy full SHA for 83e59be
lib/runner_base.js
@@ -67,8 +67,12 @@ class RunnerBase {
67
68
/**
69
* 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
+ * any JS file that's loadable as a module and provides a Jasmine config
71
* 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.
76
* @name Runner#loadConfigFile
77
* @function
78
* @param {string} [configFilePath=spec/support/jasmine.json]
0 commit comments