Skip to content

Commit a5f36e0

Browse files
committed
chore(create): restore nkzw-tech placeholder in pre-feature tests
PR review (#3138196923, #3138197820, #3138198930): the earlier revert went half-way — the pre-feature GitHub-URL parsing tests should keep their original `nkzw-tech/fate-template` placeholder, not `acme-corp`. These tests are unrelated to the `@org` feature and should never have been touched by the placeholder refactor.
1 parent 644429c commit a5f36e0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

packages/cli/src/create/__tests__/discovery.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@ describe('GitHub template helpers', () => {
8585
});
8686

8787
it('should infer the repository name from GitHub templates', () => {
88-
expect(inferGitHubRepoName('github:acme-corp/fate-template')).toBe('fate-template');
89-
expect(inferGitHubRepoName('https://github.com/acme-corp/fate-template')).toBe('fate-template');
88+
expect(inferGitHubRepoName('github:nkzw-tech/fate-template')).toBe('fate-template');
89+
expect(inferGitHubRepoName('https://github.com/nkzw-tech/fate-template')).toBe('fate-template');
9090
});
9191

9292
it('should resolve GitHub templates to degit without reusing the original URL as destination', () => {
93-
const template = discoverTemplate('https://github.com/acme-corp/fate-template', ['my-app'], {
93+
const template = discoverTemplate('https://github.com/nkzw-tech/fate-template', ['my-app'], {
9494
rootDir: '/tmp/workspace',
9595
isMonorepo: false,
9696
monorepoScope: '',
@@ -106,7 +106,7 @@ describe('GitHub template helpers', () => {
106106
});
107107

108108
expect(template.command).toBe('degit');
109-
expect(template.args).toEqual(['acme-corp/fate-template', 'my-app']);
109+
expect(template.args).toEqual(['nkzw-tech/fate-template', 'my-app']);
110110
});
111111

112112
it('should keep manifest-resolved specifiers literal when skipShorthand=true', () => {

0 commit comments

Comments
 (0)