Skip to content

test: align file names - #11898

Merged
gioboa merged 2 commits into
typeorm:masterfrom
gioboa:test/align-tests
Jan 8, 2026
Merged

gioboa merged 2 commits into
typeorm:masterfrom
gioboa:test/align-tests

Conversation

@gioboa

@gioboa gioboa commented Jan 7, 2026

Copy link
Copy Markdown
Collaborator

This PR changes these names.

  • migrations -> migration
  • entities -> entity
  • add .test.ts extension

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Code Suggestions ✨

Explore these optional code suggestions:

CategorySuggestion                                                                                                                                    Impact
General
Correct a typo in import paths

The suggestion notes that the PR corrects a typo in the import paths, changing
enity back to the correct entity directory name.

test/github-issues/5691/issue-5691.test.ts [8-11]

+import { Child1 } from "./entity/Child1"
+import { Child2 } from "./entity/Child2"
+import { Root } from "./entity/Root"
+import { Shared } from "./entity/Shared"
 
-
  • Apply / Chat
Suggestion importance[1-10]: 1

__

Why: The suggestion correctly identifies a typo fix in the PR but offers no improvement, as the improved_code is identical to the existing_code. It merely confirms the validity of the change, providing minimal value.

Low
  • More

@gioboa
gioboa requested review from G0maa, alumni and naorpeled January 7, 2026 20:35
@coveralls

coveralls commented Jan 7, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 80.891% (+0.02%) from 80.87%
when pulling a925250 on gioboa:test/align-tests
into fdcbcba on typeorm:master.

@pkuczynski pkuczynski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would keep it plural as this is more standard way of naming folders in software projects but also something we suggests in the docs...

@gioboa

gioboa commented Jan 8, 2026

Copy link
Copy Markdown
Collaborator Author

We can discuss this internally and create another PR to rename all plural.

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Code Suggestions ✨

No code suggestions found for the PR.

@gioboa
gioboa merged commit 520c7eb into typeorm:master Jan 8, 2026
35 checks passed
@gioboa
gioboa deleted the test/align-tests branch January 8, 2026 13:33
@pkuczynski

Copy link
Copy Markdown
Member

We can discuss this internally and create another PR to rename all plural.

I fired up #11898 as the base for this discussion...

mgohin pushed a commit to mgohin/typeorm that referenced this pull request Jan 15, 2026
kranners pushed a commit to kranners/typeorm that referenced this pull request Mar 1, 2026
@pkuczynski pkuczynski added this to the 1.0 milestone Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants