From 09cfa3a1213ae047255ba5fa5220618894b9a855 Mon Sep 17 00:00:00 2001 From: Jon Cursi Date: Thu, 26 Sep 2024 09:31:23 -0400 Subject: [PATCH] refactor: Rename examples dir to test --- jest.config.ts | 2 +- {examples => test}/ReactComponent/index.test.tsx | 0 {examples => test}/ReactComponent/index.tsx | 0 {examples => test}/helpers.ts | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename {examples => test}/ReactComponent/index.test.tsx (100%) rename {examples => test}/ReactComponent/index.tsx (100%) rename {examples => test}/helpers.ts (100%) diff --git a/jest.config.ts b/jest.config.ts index 50e7560..bad92d8 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -5,7 +5,7 @@ import { JestConfigWithTsJest } from 'ts-jest'; const config: JestConfigWithTsJest = { moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], preset: 'ts-jest', - roots: ['/examples'], + roots: ['/test'], setupFilesAfterEnv: ['./jest.setup.ts'], testEnvironment: 'jsdom', transform: { diff --git a/examples/ReactComponent/index.test.tsx b/test/ReactComponent/index.test.tsx similarity index 100% rename from examples/ReactComponent/index.test.tsx rename to test/ReactComponent/index.test.tsx diff --git a/examples/ReactComponent/index.tsx b/test/ReactComponent/index.tsx similarity index 100% rename from examples/ReactComponent/index.tsx rename to test/ReactComponent/index.tsx diff --git a/examples/helpers.ts b/test/helpers.ts similarity index 100% rename from examples/helpers.ts rename to test/helpers.ts