From 9d722229f33b2fe3c2627d702addcf2c39333a58 Mon Sep 17 00:00:00 2001 From: Anton Gilgur Date: Thu, 26 Mar 2020 00:38:24 -0400 Subject: [PATCH] (refactor): move safePackageName test to a unit test dir - because it's the only actual unit test! (docs): add unit test dir to test README --- test/README.md | 1 + test/{e2e => unit}/utils-safePackageName.test.ts | 0 2 files changed, 1 insertion(+) rename test/{e2e => unit}/utils-safePackageName.test.ts (100%) diff --git a/test/README.md b/test/README.md index b005b4d78..557e33aa8 100644 --- a/test/README.md +++ b/test/README.md @@ -2,5 +2,6 @@ There are two main directories here: +- `unit` contains unit tests of internals - `e2e` contains end-to-end (E2E) tests of the CLI - `integration` contains tests ensuring that common or recommended plugins work properly together with TSDX diff --git a/test/e2e/utils-safePackageName.test.ts b/test/unit/utils-safePackageName.test.ts similarity index 100% rename from test/e2e/utils-safePackageName.test.ts rename to test/unit/utils-safePackageName.test.ts