Skip to content

Commit

Permalink
fix local results
Browse files Browse the repository at this point in the history
  • Loading branch information
XantreDev committed Aug 13, 2024
1 parent 061688b commit 5541294
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vitest.config.mts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { defineConfig } from 'vitest/config'
import codspeedPlugin from '@codspeed/vitest-plugin'

// eslint-disable-next-line import/no-default-export
export default defineConfig({
// for some reason it do not print results with plugin
plugins: [codspeedPlugin()],
// https://github.com/CodSpeedHQ/codspeed-node/issues/36
plugins: process.env.CI ? [codspeedPlugin()] : undefined,
})

0 comments on commit 5541294

Please sign in to comment.