You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This used to work with the older versions of jasmine, and the files in the include_paths were used to search for includes, but they were not loaded as specs. What I see now is that all js files in the include paths are also loaded as specs, which causes issues, because my "." folder includes a "node_modules" subfolder for example, which contains stuff that is only related to my dev environment and certainly is not "jasmine testable".
I tried putting "node_modules/*" in the exclude_paths, but this does not change anything.
The text was updated successfully, but these errors were encountered:
The include paths were being interpreted as spec paths because the -I
was in the wrong place on the command line. In order to prevent this
confusion, don't use the -I argument at all (it is weird, and is
intercepted by GJS before arg parsing) and instead pass include paths to
the subprocess using the GJS_PATH environment variable.
Closes: #37
The include paths were being interpreted as spec paths because the -I
was in the wrong place on the command line. In order to prevent this
confusion, don't use the -I argument at all (it is weird, and is
intercepted by GJS before arg parsing) and instead pass include paths to
the subprocess using the GJS_PATH environment variable.
Closes: #37
Since commit 2fba93e, all javascript files in the include paths are loaded as specs as well, not just the spec paths.
More context, my jasmine.json config is as follows:
This used to work with the older versions of jasmine, and the files in the include_paths were used to search for includes, but they were not loaded as specs. What I see now is that all js files in the include paths are also loaded as specs, which causes issues, because my "." folder includes a "node_modules" subfolder for example, which contains stuff that is only related to my dev environment and certainly is not "jasmine testable".
I tried putting "node_modules/*" in the exclude_paths, but this does not change anything.
The text was updated successfully, but these errors were encountered: