Skip to content

Commit 42052bf

Browse files
justin808claude
andcommitted
Move SWC test to proper location: client/__tests__/
Moved test from client/app/bundles/ to client/__tests__/ which is the Jest convention for project-level tests that aren't component-specific. - Created client/__tests__/ directory (Jest standard) - Updated testRegex to include __tests__ directory - This is a better location for configuration/build tests vs bundles/ which should only contain application code 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent fa678c5 commit 42052bf

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
File renamed without changes.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
"setupFiles": [
155155
"./client/app/libs/testHelper.js"
156156
],
157-
"testRegex": "./client/app/.*.spec\\.jsx?$",
157+
"testRegex": "./client/(app|__tests__)/.*.spec\\.jsx?$",
158158
"transform": {
159159
"^.+\\.jsx?$": "babel-jest"
160160
}

0 commit comments

Comments
 (0)