Skip to content

Commit

Permalink
fix: allow no test running
Browse files Browse the repository at this point in the history
  • Loading branch information
myz1237 committed Jan 9, 2025
1 parent 1e0740f commit 680bc49
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ on:
- merge_group

jobs:
# No unit tests available
# unit:
# runs-on: ubuntu-latest
# continue-on-error: true
# steps:
# - uses: actions/checkout@v4
# - uses: ./.github/actions/install
# - name: Unit Tests
# run: pnpm test:unit
unit:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install
- name: Unit Tests
run: pnpm test:unit

integration:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const config: Config = {
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, {
prefix: '<rootDir>/src',
}),
passWithNoTests: true,
}

export default config

0 comments on commit 680bc49

Please sign in to comment.