From 759767a8ef91a5a5b10defb7c7fdf40ff5f5d40e Mon Sep 17 00:00:00 2001 From: yandeu <20306025+yandeu@users.noreply.github.com> Date: Tue, 7 May 2024 13:46:07 +0200 Subject: [PATCH] dev --- .github/workflows/main.yml | 2 +- package.json | 1 + test/e2e/unauthorized.test.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3b6d1e6..7f9fcff 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,7 +48,7 @@ jobs: - name: Run Tests (mjs) run: | npm run build-client-bundle - npm run test:mjs + npm run test2 - name: Upload coverage to Codecov uses: codecov/codecov-action@v2 diff --git a/package.json b/package.json index e8427ec..cd12165 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "postinstall": "lerna bootstrap --no-ci && npm run build", "test": "npm run build-client-bundle && npm run test:mjs && npm run test:cjs", "test:mjs": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage --forceExit --testMatch \"**/test/{common,e2e,server}/**/*test.?(c)js\"", + "test2": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage --forceExit --testMatch \"**/test/{common,e2e,server}/**/*ed.test.?(c)js\"", "test:cjs": "jest --coverage --forceExit --testMatch \"**/test/cjs/**/*test.?(c)js\"", "clear": "rimraf packages/client/lib packages/common/lib packages/server/lib packages/common/cjs packages/server/cjs", "build-client-bundle": "webpack --config packages/client/webpack/webpack.prod.cjs --env path=../../../test/.tmp --env packageVersion=latest", diff --git a/test/e2e/unauthorized.test.js b/test/e2e/unauthorized.test.js index dc7ddab..d07459c 100644 --- a/test/e2e/unauthorized.test.js +++ b/test/e2e/unauthorized.test.js @@ -43,7 +43,7 @@ describe('unauthorized', () => { }) }) -page.goto('http://localhost:4000/e2e/unauthorized.html') +await page.goto('http://localhost:4000/e2e/unauthorized.html') afterAll(async () => { const close = () => {