From 8a95b2397b5d6516495e46d2b3e5efdba0a907ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20L=C3=B8fgren?= Date: Tue, 9 Jan 2024 14:01:53 +0100 Subject: [PATCH] fix: move tests out of main `src` folder --- {src => tests}/test.ts | 5 +---- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) rename {src => tests}/test.ts (91%) diff --git a/src/test.ts b/tests/test.ts similarity index 91% rename from src/test.ts rename to tests/test.ts index 3196d8c..d4f4ebe 100644 --- a/src/test.ts +++ b/tests/test.ts @@ -1,7 +1,4 @@ -import {DeepOmit, DeepPick} from "./index"; -import {DeepRequire} from "./deep-types/deep-require"; -import {DeepOptional} from "./deep-types/deep-optional"; -import {KeysAsDotNotation} from "./util-types/keys-as-dot-notation"; +import {DeepOmit, DeepPick, DeepRequire, DeepOptional} from "../src"; type Test1 = { foo1: string; diff --git a/tsconfig.json b/tsconfig.json index 647c35c..46a1bf5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,5 +8,5 @@ "module": "CommonJS", "baseUrl": "." }, - "include": ["src/**/*.ts"] + "include": ["src/**/*.ts", "tests/**/*.ts"], }