Skip to content

Commit

Permalink
fix: snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyreilly committed Jan 6, 2024
1 parent 2301020 commit 10e5d1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
14 changes: 3 additions & 11 deletions .github/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,10 @@ pnpm run test --coverage
Note that [console-fail-test](https://github.com/JoshuaKGoldberg/console-fail-test) is enabled for all test runs.
Calls to `console.log`, `console.warn`, and other console methods will cause a test to fail.

## Debugging
### Debugging Tests

This repository includes a [VS Code launch configuration](https://code.visualstudio.com/docs/editor/debugging) for debugging.
Depending upon the type of usage, it can include debugging for unit tests _and_ for executable (or "bin") apps.

### Unit Tests

To debug a unit test, open a test file, then run _Debug Current Test File_ from the VS Code Debug panel (or press F5).

### `bin` Apps

To debug a `bin` app, add a breakpoint to your code, then run _Debug Program_ from the VS Code Debug panel (or press F5).
This repository includes a [VS Code launch configuration](https://code.visualstudio.com/docs/editor/debugging) for debugging unit tests.
To launch it, open a test file, then run _Debug Current Test File_ from the VS Code Debug panel (or press F5).

## Type Checking

Expand Down
2 changes: 1 addition & 1 deletion script/__snapshots__/migrate-test-e2e.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ exports[`expected file changes > package.json 1`] = `
"vitest": "^1.0.2",
"yaml-eslint-parser": "^1.2.2"
},
- "packageManager": "pnpm@8.13.1",
- "packageManager": "pnpm@8.14.0",
+ "packageManager": "pnpm@8.7.0",
"engines": {
"node": ">=18"
Expand Down

0 comments on commit 10e5d1c

Please sign in to comment.