feat: clear local repository if hydrating from a template #813
ci.yml
on: pull_request
Build
26s
Lint
32s
Lint Knip
18s
Lint Markdown
17s
Lint Packages
16s
Lint Spelling
15s
Prettier
14s
Test
31s
Type Check
13s
Annotations
2 errors and 9 warnings
src/cli/migrate/clearTemplateFiles.test.ts > clearTemplateFiles > deletes non-.git children:
packages/create/src/cli/migrate/clearTemplateFiles.test.ts#L40
AssertionError: expected "spy" to be called with arguments: [ '.github' ]
Received:
1st spy call:
Array [
".github",
+ Object {
+ "recursive": true,
+ },
]
2nd spy call:
Array [
- ".github",
+ "src",
+ Object {
+ "recursive": true,
+ },
]
3rd spy call:
Array [
- ".github",
+ "package.json",
+ Object {
+ "recursive": true,
+ },
]
Number of calls: 3
❯ src/cli/migrate/clearTemplateFiles.test.ts:40:18
|
Test
Process completed with exit code 1.
|
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint Packages
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint Knip
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint Spelling
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Type Check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint Markdown
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Prettier
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|