From bcceb14ef2ab4e66883b12e59d8526c8041f5399 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Mon, 2 Oct 2023 18:59:17 -0700 Subject: [PATCH] Remove extra bits from binderhub-client config Now that we have jest setup for everything, it is no longer needed for the 'subpackage' of binderhub-client --- .github/workflows/jest.yml | 7 ++----- js/packages/binderhub-client/babel.config.json | 1 - js/packages/binderhub-client/package.json | 14 -------------- 3 files changed, 2 insertions(+), 20 deletions(-) delete mode 120000 js/packages/binderhub-client/babel.config.json diff --git a/.github/workflows/jest.yml b/.github/workflows/jest.yml index 99f2d8d8e..ab2619bcd 100644 --- a/.github/workflows/jest.yml +++ b/.github/workflows/jest.yml @@ -20,13 +20,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: "binderhub unit tests" + - name: "Setup dependencies" run: | npm install - npm test - - name: "@jupyterhub/binderhub-client unit tests" + - name: "Run all unit tests" run: | - cd js/packages/binderhub-client - npm install npm test diff --git a/js/packages/binderhub-client/babel.config.json b/js/packages/binderhub-client/babel.config.json deleted file mode 120000 index 8ecc8f067..000000000 --- a/js/packages/binderhub-client/babel.config.json +++ /dev/null @@ -1 +0,0 @@ -../../../babel.config.json \ No newline at end of file diff --git a/js/packages/binderhub-client/package.json b/js/packages/binderhub-client/package.json index 1b83b30e3..e8c60b232 100644 --- a/js/packages/binderhub-client/package.json +++ b/js/packages/binderhub-client/package.json @@ -15,19 +15,5 @@ "homepage": "https://github.com/jupyterhub/binderhub#readme", "dependencies": { "event-source-polyfill": "^1.0.31" - }, - "devDependencies": { - "@types/jest": "^29.5.5", - "@babel/core": "^7.21.4", - "@babel/preset-env": "^7.21.4", - "babel-jest": "^29.7.0", - "jest": "^29.7.0", - "jest-environment-jsdom": "^29.7.0" - }, - "scripts": { - "test": "jest" - }, - "jest": { - "testEnvironment": "jsdom" } }