Skip to content

Commit

Permalink
chore(tests): #tests/reporters/notifier
Browse files Browse the repository at this point in the history
Signed-off-by: Lexus Drumgold <[email protected]>
  • Loading branch information
unicornware committed Oct 1, 2024
1 parent efb8b54 commit 548557e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ jobs:
- id: typecheck
if: steps.test-files-check.outputs.files_exists == 'true'
name: Run typecheck
env:
NODE_OPTIONS: --experimental-strip-types --experimental-transform-types
run: yarn typecheck
test:
needs:
Expand Down Expand Up @@ -333,6 +335,8 @@ jobs:
- id: test
if: steps.test-files-check.outputs.files_exists == 'true'
name: Run tests
env:
NODE_OPTIONS: --experimental-strip-types --experimental-transform-types
run: |
yarn test:cov --coverage.thresholds.100=false \
&& echo "coverage=$(jq '${{ env.PCT }}' ${{ env.COVERAGE_SUMMARY }} -r)" >>$GITHUB_OUTPUT
Expand Down Expand Up @@ -377,6 +381,8 @@ jobs:
steps.test-files-check.outputs.files_exists == 'true'
&& ${{ toJson(steps.test.outputs.coverage) }} != 400
name: Coverage threshold failure (${{ steps.test.outputs.coverage }})
env:
NODE_OPTIONS: --experimental-strip-types --experimental-transform-types
run: yarn test:cov:reports
build:
needs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/typescript-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ jobs:
run: yarn build
- id: typecheck
name: Run typecheck
env:
NODE_OPTIONS: --experimental-strip-types --experimental-transform-types
run: yarn typecheck
- id: typecheck-build
name: Run typecheck-build
Expand Down
2 changes: 1 addition & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* @see https://vitest.dev/config/
*/

import Notifier from '#tests/reporters/notifier'
import ci from 'is-ci'
import path from 'node:path'
import {
Expand All @@ -13,7 +14,6 @@ import {
type UserConfigExport
} from 'vitest/config'
import { BaseSequencer, type WorkspaceSpec } from 'vitest/node'
import Notifier from './__tests__/reporters/notifier'
import tsconfigJson from './tsconfig.test.json'

/**
Expand Down

0 comments on commit 548557e

Please sign in to comment.