diff --git a/.babelrc b/.babelrc index ac762e007..f4175971b 100644 --- a/.babelrc +++ b/.babelrc @@ -13,8 +13,8 @@ ], // presets are a set of of plug-ins "presets": [ + ["@babel/preset-env", { "targets": { "node": "current" } }], "@babel/preset-typescript", - "@babel/preset-env", "@babel/preset-react" ] } diff --git a/.eslintrc.json b/.eslintrc.json index f621932e3..9b85387af 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -8,7 +8,7 @@ "sourceType": "module" }, "plugins": ["import", "react", "jest", "jsx-a11y", "babel"], - "parser": "babel-eslint", + "parser": "@babel/eslint-parser", "env": { "browser": true, "node": true, diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f937a06b2..ebb780741 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,9 +6,9 @@ name: CI on: # Triggers the workflow on push or pull request events but only for the master branch push: - branches: [ master ] + branches: [dev] pull_request: - branches: [ master ] + branches: [dev] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -23,11 +23,15 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + with: + node-version: 18.13.0 # Runs a single command using the runners shell - - name: Run a one-line script - run: echo Hello, world! + - name: Install dependencies + run: npm install + - name: Run all tests + run: npm run test --bail # Runs a set of commands using the runners shell - name: Run a multi-line script diff --git a/.gitignore b/.gitignore index 086545ac6..fc94e8869 100644 --- a/.gitignore +++ b/.gitignore @@ -498,3 +498,6 @@ server/RootCA.srl # End of https://www.gitignore.io/api/node,linux,macos,windows,visualstudio,yarn +/test-results/ +/playwright-report/ +/playwright/.cache/ diff --git a/.travis.yml b/.travis.yml index df8e4d892..6d4e18982 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,17 @@ -language: node_js -node_js: - - "16" -dist: xenial -arch: amd64 -script: - - python3 -VV - - pip install --upgrade pip - - pip -V - - npm run test -cache: - directories: - - node_modules -install: - - npm install --legacy-peer-deps -env: - global: PATH=/opt/python/3.7.1/bin:$PATH +# language: node_js +# node_js: +# - "16" +# dist: xenial +# arch: amd64 +# script: +# - python3 -VV +# - pip install --upgrade pip +# - pip -V +# - npm run test +# cache: +# directories: +# - node_modules +# install: +# - npm install --legacy-peer-deps +# env: +# global: PATH=/opt/python/3.7.1/bin:$PATH diff --git a/CHANGE_LOG.md b/CHANGE_LOG.md index e73940be7..f8f5c7778 100644 --- a/CHANGE_LOG.md +++ b/CHANGE_LOG.md @@ -3,6 +3,56 @@
-
+
Filename | Percent | Threshold | Total | Covered | Uncovered |
---|---|---|---|---|---|
app/src/Dashboard/NavbarDash.tsx | 88.44% | 80% | 225 | 199 | 26 |