0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/benchmark/vitest.config.js
Emanuele Stoppa 9b5f3a702d
refactor: use vitest for benchmarks (#12605)
* refactor: use `vitest` for benchmarks

* increase timeout

* increase timeout

* Restore correct label
2024-12-03 17:03:24 +00:00

7 lines
234 B
JavaScript

import codspeedPlugin from '@codspeed/vitest-plugin';
import { defineConfig } from 'vitest/config';
export default defineConfig({
plugins: process.env.CODSPEED ? [codspeedPlugin()] : [],
include: ['./bench/codspeed.bench.js'],
});