Skip to content

Commit

Permalink
Use require() vs import for vitest-github-actions-reporter to resolve…
Browse files Browse the repository at this point in the history
… import issues with this package.
  • Loading branch information
danielnaab committed Jan 19, 2024
1 parent c52acb7 commit 05a5f79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vitest.shared.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import type { UserConfig } from 'vitest/config';
import { default as GithubActionsReporter } from 'vitest-github-actions-reporter';
const {
default: GithubActionsReporter,
} = require('vitest-github-actions-reporter');

export default {
test: {
Expand Down

0 comments on commit 05a5f79

Please sign in to comment.