Add karma_coverage_dir to KarmaTestApp #5415
The purpose of this change is to make it easier for third party JupyterLab extensions to reuse
Third party extensions can then follow a structure similar to the one used for the core extensions with the
import os from jupyterlab.tests.test_app import run_karma HERE = os.path.realpath(os.path.dirname(__file__)) if __name__ == '__main__': run_karma(HERE, HERE)
The basic idea here is to avoid the hardcoded paths that are specific to the JupyterLab repo.
We briefly discussed it with @blink1073 on the Gitter channel. If Karma ends up being deprecated in favor of Jest, we might just want to clean it up and suggest using Jest for third party extensions as well.
The text was updated successfully, but these errors were encountered: