Skip to content

Commit

Permalink
use built-in reporter instead of vitest-github-actions-reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
mizdra committed Sep 16, 2024
1 parent 58f21eb commit dd5a89b
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 141 deletions.
3 changes: 1 addition & 2 deletions e2e/01-esm/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { defineConfig } from 'vitest/config';
import GithubActionsReporter from 'vitest-github-actions-reporter';

export default defineConfig({
test: {
include: ['**/*.e2e.ts'],
reporters: process.env['GITHUB_ACTIONS'] ? ['default', new GithubActionsReporter()] : 'default',
reporters: process.env['GITHUB_ACTIONS'] ? ['default', 'github-actions'] : 'default',
},
});
3 changes: 1 addition & 2 deletions e2e/03-browser/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { defineConfig } from 'vitest/config';
import GithubActionsReporter from 'vitest-github-actions-reporter';

export default defineConfig({
test: {
include: ['**/*.e2e.ts'],
reporters: process.env['GITHUB_ACTIONS'] ? ['default', new GithubActionsReporter()] : 'default',
reporters: process.env['GITHUB_ACTIONS'] ? ['default', 'github-actions'] : 'default',
browser: {
enabled: true,
name: 'chrome',
Expand Down
134 changes: 0 additions & 134 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
"tsx": "^4.19.1",
"typescript": "^5.6.2",
"vitest": "^2.1.1",
"vitest-github-actions-reporter": "^0.11.1",
"webdriverio": "^9.0.9"
},
"engines": {
Expand Down
3 changes: 1 addition & 2 deletions vite.config.mts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { defineConfig } from 'vitest/config';
import GithubActionsReporter from 'vitest-github-actions-reporter';

export default defineConfig({
test: {
reporters: process.env['GITHUB_ACTIONS'] ? ['default', new GithubActionsReporter()] : 'default',
reporters: process.env['GITHUB_ACTIONS'] ? ['default', 'github-actions'] : 'default',
},
});

0 comments on commit dd5a89b

Please sign in to comment.