You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: .github/DEVELOPMENT.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -146,7 +146,7 @@ Note that the files need to be built with `pnpm run build` beforehand.
146
146
pnpm run test:create
147
147
```
148
148
149
-
That end-to-end test executes `script/create-test-e2e.js`, which:
149
+
That end-to-end test executes `script/create-test-e2e.ts`, which:
150
150
151
151
1. Runs the creation script to create a new `test-repository` child directory and repository, capturing code coverage
152
152
2. Asserts that commands such as `build` and `lint` each pass
@@ -175,7 +175,7 @@ Note that files need to be built with `pnpm run build` beforehand.
175
175
pnpm run test:initialize
176
176
```
177
177
178
-
That end-to-end test executes `script/initialize-test-e2e.js`, which:
178
+
That end-to-end test executes `script/initialize-test-e2e.ts`, which:
179
179
180
180
1. Runs the initialization script using `--skip-github-api` and other skip flags
181
181
2. Checks that the local repository's files were changed correctly (e.g. removed initialization-only files)
@@ -221,7 +221,7 @@ You can run the end-to-end test for migrating locally on the command-line:
221
221
pnpm run test:migrate
222
222
```
223
223
224
-
That end-to-end test executes `script/migrate-test-e2e.js`, which:
224
+
That end-to-end test executes `script/migrate-test-e2e.ts`, which:
225
225
226
226
1. Runs the migration script using `--skip-github-api` and other skip flags, capturing code coverage
227
227
2. Checks that only a small list of allowed files were changed
@@ -234,7 +234,7 @@ See `.github/workflows/test-migrate.yml`.
234
234
235
235
##### Migration Snapshot Failures
236
236
237
-
The migration test uses the [Vitest file snapshot](https://vitest.dev/guide/snapshot#file-snapshots) in `script/__snapshots__/migrate-test-e2e.js.snap` to store expected differences to this repository after running the migration script.
237
+
The migration test uses the [Vitest file snapshot](https://vitest.dev/guide/snapshot#file-snapshots) in `script/__snapshots__/migrate-test-e2e.ts.snap` to store expected differences to this repository after running the migration script.
238
238
The end-to-end migration test will fail any changes that don't keep the same differences in that snapshot.
239
239
240
240
You can update the snapshot file by:
@@ -245,7 +245,7 @@ You can update the snapshot file by:
245
245
246
246
At this point there will be some files changed:
247
247
248
-
-`script/__snapshots__/migrate-test-e2e.js.snap` will have updates if any files mismatched templates
248
+
-`script/__snapshots__/migrate-test-e2e.ts.snap` will have updates if any files mismatched templates
249
249
- The actual updated files on disk will be there too
250
250
251
251
If the snapshot file changes are what you expected, then you can commit them.
0 commit comments