Skip to content

Commit

Permalink
Fix paths of renamed test folder
Browse files Browse the repository at this point in the history
  • Loading branch information
mpanne committed May 2, 2024
1 parent e554783 commit ba736e5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
if: ${{ failure() }}
with:
name: playwright-e2e-test-results
path: tests/e2e/playwright-report # FIXME
path: test/e2e/playwright-report # FIXME

- name: Run A11y tests
run: npm run test:a11y
Expand All @@ -85,7 +85,7 @@ jobs:
if: ${{ failure() }}
with:
name: playwright-a11y-test-results
path: tests/a11y/playwright-report # FIXME
path: test/a11y/playwright-report # FIXME

- name: Send failure to Slack
uses: digitalservicebund/notify-on-failure-gha@814d0c4b2ad6a3443e89c991f8657b10126510bf # v1.5.0
Expand Down
4 changes: 2 additions & 2 deletions packages/dito/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const config: Config.InitialOptions = {
moduleNameMapper: {
"~/(.*)": "<rootDir>/app/$1",
},
testPathIgnorePatterns: ["<rootDir>/tests/e2e", "<rootDir>/tests/a11y"],
setupFilesAfterEnv: ["<rootDir>/tests/jest.setup.ts"],
testPathIgnorePatterns: ["<rootDir>/test/e2e", "<rootDir>/test/a11y"],
setupFilesAfterEnv: ["<rootDir>/test/jest.setup.ts"],
collectCoverageFrom: ["app/**/*.{ts,tsx,js,jsx}", "!**/*.d.ts"],
};

Expand Down
4 changes: 2 additions & 2 deletions packages/dito/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"start": "remix-serve ./build/server/index.js",
"clean": "rm -rf build/",
"test": "jest test",
"test:e2e": "playwright test --config=tests/e2e/playwright.config.ts",
"test:a11y": "playwright test --config=tests/a11y/playwright.config.ts",
"test:e2e": "playwright test --config=test/e2e/playwright.config.ts",
"test:a11y": "playwright test --config=test/a11y/playwright.config.ts",
"tests": "npm run build && npm run test && npm run test:e2e && npm run test:a11y",
"test:generate-coverage": "jest --coverage",
"typecheck": "tsc"
Expand Down

0 comments on commit ba736e5

Please sign in to comment.