diff --git a/packages/cli/test/helpers.spec.ts b/packages/cli/src/lib/helpers.spec.ts similarity index 96% rename from packages/cli/test/helpers.spec.ts rename to packages/cli/src/lib/helpers.spec.ts index 15106dfb..98e91a60 100644 --- a/packages/cli/test/helpers.spec.ts +++ b/packages/cli/src/lib/helpers.spec.ts @@ -1,5 +1,5 @@ import { z } from 'zod'; -import { zodParse } from '../src/lib'; +import { zodParse } from './helpers'; describe('zodParse', () => { it('should throw error if payload is invalid', () => { diff --git a/packages/cli/test/services/config/config-file-loader.spec.ts b/packages/cli/src/lib/services/config/config-file-loader.spec.ts similarity index 97% rename from packages/cli/test/services/config/config-file-loader.spec.ts rename to packages/cli/src/lib/services/config/config-file-loader.spec.ts index f5fe3b4d..d9de1036 100644 --- a/packages/cli/test/services/config/config-file-loader.spec.ts +++ b/packages/cli/src/lib/services/config/config-file-loader.spec.ts @@ -1,4 +1,4 @@ -import { ConfigFileLoader } from '../../../src/lib'; +import { ConfigFileLoader } from './config-file-loader'; import Path from 'path'; describe('ConfigFileLoader', () => { diff --git a/packages/cli/tsconfig.base.json b/packages/cli/tsconfig.base.json index 80ca4afa..208e2fe2 100644 --- a/packages/cli/tsconfig.base.json +++ b/packages/cli/tsconfig.base.json @@ -29,5 +29,5 @@ "rootDir": "./src", "outDir": "./dist" }, - "include": ["./src/**/*.ts", "./test/**/*.ts"] + "include": ["./src/**/*.ts"] }