From c691c0056333749c952c9c84ac710e6b44bdb8da Mon Sep 17 00:00:00 2001 From: Mnigos Date: Tue, 17 Oct 2023 19:35:34 +0200 Subject: [PATCH] style(modules/profiles/dtos): rename `create-profile.ts` -> create-profile.dto.ts` --- ...reate-profile.ts => create-profile.dto.ts} | 0 src/modules/profiles/dtos/index.ts | 2 +- vitest.config.ts | 28 +++++++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) rename src/modules/profiles/dtos/{create-profile.ts => create-profile.dto.ts} (100%) diff --git a/src/modules/profiles/dtos/create-profile.ts b/src/modules/profiles/dtos/create-profile.dto.ts similarity index 100% rename from src/modules/profiles/dtos/create-profile.ts rename to src/modules/profiles/dtos/create-profile.dto.ts diff --git a/src/modules/profiles/dtos/index.ts b/src/modules/profiles/dtos/index.ts index b019150a..5d15fa20 100644 --- a/src/modules/profiles/dtos/index.ts +++ b/src/modules/profiles/dtos/index.ts @@ -1 +1 @@ -export * from './create-profile' +export * from './create-profile.dto' diff --git a/vitest.config.ts b/vitest.config.ts index 812e82b1..97492cc0 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -5,6 +5,34 @@ export default defineConfig({ test: { globals: true, root: './', + coverage: { + provider: 'v8', + reporter: ['text', 'json', 'html', 'lcov'], + exclude: [ + '**/node_modules/**', + '**/migrations/**', + '**/types/**', + '**/constants/**', + '**/tests/**', + '**/index.ts', + '**/main.ts', + '**/*.config.ts', + '**/*.config.js', + '**/*.d.ts', + '**/*.entity.ts', + '**/*.module.ts', + '**/*.schema.ts', + '**/*.mock.ts', + '**/*.enum.ts', + '**/*.dto.ts', + '**/*.svg.*', + '**/*.spec.ts', + '**/*.spec.tsx', + '**/*.cjs', + '**/*.mjs', + ], + all: true, + }, }, resolve: { alias: {