Skip to content

Commit 13134a8

Browse files
authored
Fix README (#289)
* Fix README * Fix and lint * Make integration test more robust
1 parent bbcac55 commit 13134a8

File tree

4 files changed

+142
-495
lines changed

4 files changed

+142
-495
lines changed

README.md

-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# jupyterlab_variableinspector
22

3-
<<<<<<< before updating
43
[![Extension status](https://img.shields.io/badge/status-ready-success 'ready to be used')](https://jupyterlab-contrib.github.io/)
54
![PyPi_Version](https://img.shields.io/pypi/v/lckr-jupyterlab-variableinspector)
65
![Build](https://github.com/jupyterlab-contrib/jupyterlab-variableInspector/workflows/Build/badge.svg)
@@ -28,10 +27,6 @@ Contributions in any form are welcome!
2827
In order to allow variable inspection, all content that is displayed first need to be sent from the kernel to the front end.
2928
Therefore, opening large data frames with the datagrid viewer can dramatically increase your occupied memory and _significantly slow down_ your browser.
3029
Use at your own risk.
31-
=======
32-
[![Github Actions Status](https://github.com/jupyterlab-contrib/jupyterlab-variableInspector/workflows/Build/badge.svg)](https://github.com/jupyterlab-contrib/jupyterlab-variableInspector/actions/workflows/build.yml)[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/jupyterlab-contrib/jupyterlab-variableInspector/main?urlpath=lab)
33-
Variable inspector extension for JupyterLab
34-
>>>>>>> after updating
3530

3631
## Requirements
3732

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"prettier:check": "jlpm prettier:base --check",
4848
"stylelint": "jlpm stylelint:check --fix",
4949
"stylelint:check": "stylelint --cache \"style/**/*.css\"",
50-
"watch": "run-p watch:src watch:labextension",
50+
"watch": "run-p watch:src watch:labextension",
5151
"watch:labextension": "jupyter labextension watch .",
5252
"watch:src": "tsc -w --sourceMap"
5353
},
@@ -58,7 +58,7 @@
5858
"@jupyterlab/coreutils": "^6.0.0",
5959
"@jupyterlab/notebook": "^4.0.0",
6060
"@jupyterlab/outputarea": "^4.0.0",
61-
"@jupyterlab/rendermime": "^3.8.0",
61+
"@jupyterlab/rendermime": "^4.0.0",
6262
"@jupyterlab/services": "^7.0.0",
6363
"@jupyterlab/ui-components": "^4.0.0",
6464
"@lumino/coreutils": "^2.0.0",
@@ -70,7 +70,7 @@
7070
},
7171
"devDependencies": {
7272
"@jupyterlab/builder": "^4.0.0",
73-
"@types/json-schema": "^7.0.11",
73+
"@types/json-schema": "^7.0.11",
7474
"@types/react": "^18.0.26",
7575
"@types/react-addons-linked-state-mixin": "^0.14.22",
7676
"@typescript-eslint/eslint-plugin": "^6.1.0",
@@ -79,7 +79,7 @@
7979
"eslint": "^8.36.0",
8080
"eslint-config-prettier": "^8.8.0",
8181
"eslint-plugin-prettier": "^5.0.0",
82-
"npm-run-all": "^4.1.5",
82+
"npm-run-all": "^4.1.5",
8383
"prettier": "^3.0.0",
8484
"rimraf": "^5.0.1",
8585
"source-map-loader": "^1.0.2",

ui-tests/tests/lckr_jupyterlab_variableinspector.spec.ts

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { expect, test } from '@jupyterlab/galata';
22

3-
43
test('test', async ({ page }) => {
54
await page.getByText('Python 3 (ipykernel)').first().click();
65
await page.getByText('Python 3 (ipykernel) | Idle').waitFor();
@@ -14,6 +13,6 @@ test('test', async ({ page }) => {
1413
});
1514
await page.getByRole('menu').getByText('Open Variable Inspector').click();
1615

17-
await expect(page.getByRole('row').nth(1)).toHaveText(/aint281$/)
18-
await expect(page.getByRole('row').last()).toHaveText(/bstr46hello$/)
19-
});
16+
await expect(page.getByRole('row').nth(1)).toHaveText(/aint\d\d1$/);
17+
await expect(page.getByRole('row').last()).toHaveText(/bstr\d\dhello$/);
18+
});

0 commit comments

Comments
 (0)