Skip to content

Commit

Permalink
Fix tests and bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval committed Dec 11, 2022
1 parent 8b30a46 commit 116184b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jlpm test

#### Integration tests

This extension uses [Playwright](https://playwright.dev/docs/intro/) for the integration tests (aka user level tests).
This extension uses [Playwright](https://playwright.dev/docs/intro) for the integration tests (aka user level tests).
More precisely, the JupyterLab helper [Galata](https://github.com/jupyterlab/jupyterlab/tree/master/galata) is used to handle testing the extension in JupyterLab.

More information are provided within the [ui-tests](./ui-tests/README.md) README.
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"jupyterlab-extension"
],
"private": true,
"files": [],
"workspaces": {
"packages": [
"app",
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,12 @@ source = "nodejs"
fields = ["description", "authors", "urls"]

[tool.hatch.build.targets.sdist]
artifacts = ["jupyterlab_rise/labextension"]
artifacts = ["jupyterlab_rise/labextension", "jupyterlab_rise/schemas", "jupyterlab_rise/static"]
exclude = [".github", "binder"]

[tool.hatch.build.targets.wheel]
artifacts = ["jupyterlab_rise/schemas", "jupyterlab_rise/static"]

[tool.hatch.build.targets.wheel.shared-data]
"jupyterlab_rise/labextension" = "share/jupyter/labextensions/jupyterlab-rise"
"install.json" = "share/jupyter/labextensions/jupyterlab-rise/install.json"
Expand Down
2 changes: 1 addition & 1 deletion ui-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This folder contains the integration tests of the extension.

They are defined using [Playwright](https://playwright.dev/docs/intro.html) test runner
They are defined using [Playwright](https://playwright.dev/docs/intro) test runner
and [Galata](https://github.com/jupyterlab/jupyterlab/tree/master/galata) helper.

The Playwright configuration is defined in [playwright.config.js](./playwright.config.js).
Expand Down

0 comments on commit 116184b

Please sign in to comment.