diff options
author | Cashew <52880648+Scrub1492@users.noreply.github.com> | 2024-02-03 12:12:20 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-03 05:12:20 +0000 |
commit | 3fc7362fe189b73d9cb9a0ff3338d755ca7e7003 (patch) | |
tree | 4c5bfb646b1b4603e7bf7273b98ad292cfe4a7ca /vitest.config.js | |
parent | 16423a1bc89d8a0e6439c8d3f7441fd3d36e85df (diff) |
Add vitest benchmark (#583)
* add basic benches
* add package.json script
* fix header
* add codspeed plugin
* add benchmark GitHub action
* add env
* revert change
* merge upstream
* update names
Diffstat (limited to 'vitest.config.js')
-rw-r--r-- | vitest.config.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vitest.config.js b/vitest.config.js index e0e72e63..7603e92c 100644 --- a/vitest.config.js +++ b/vitest.config.js @@ -14,9 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ + +import codspeedPlugin from '@codspeed/vitest-plugin'; import {configDefaults, defineConfig} from 'vitest/config'; export default defineConfig({ + plugins: [codspeedPlugin()], test: { exclude: [ ...configDefaults.exclude, |