From 235deb113c3a5bc27d3e8f4326f6f5929ad51e23 Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Tue, 4 Jul 2023 14:51:31 +0530 Subject: [PATCH] chore: update vitest to be able to parse Vue components --- packages/hoppscotch-common/vitest.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/hoppscotch-common/vitest.config.ts b/packages/hoppscotch-common/vitest.config.ts index 8d89bcc8b..95fa896b7 100644 --- a/packages/hoppscotch-common/vitest.config.ts +++ b/packages/hoppscotch-common/vitest.config.ts @@ -2,6 +2,7 @@ import { defineConfig } from "vitest/config" import * as path from "path" import Icons from "unplugin-icons/vite" import { FileSystemIconLoader } from "unplugin-icons/loaders" +import Vue from "@vitejs/plugin-vue" export default defineConfig({ test: { @@ -18,6 +19,7 @@ export default defineConfig({ }, }, plugins: [ + Vue(), Icons({ compiler: "vue3", customCollections: {