mirror of
https://github.com/hanzoai/jest.git
synced 2026-09-24 16:59:57 +00:00
* Add resolver for snapshot paths * Remove snapshotResolver from versioned doc * Simplify resolveSnapshotPath * Make error feedback more actionable * Assert test result before snapshot file Should help troubleshoot failing tests on CI * Run integration test with correct flags Same as the base snapshot.test.js * Add tests for malformed resolver module * Resolve paths in tests like implementation To avoid cross-platform mismatches * Rename integration-tests => e2e * Fix code review feedback * Add changelog entry * Fix review comments for e2e/__tests__/snapshot_resolver.test.js * Fix prettier error * Move changelog entry to correct place * Move up type import above normal imports * Add consistency check * Update snapshot_resolver.js
7 lines
113 B
JSON
7 lines
113 B
JSON
{
|
|
"jest": {
|
|
"testEnvironment": "node",
|
|
"snapshotResolver": "<rootDir>/customSnapshotResolver.js"
|
|
}
|
|
}
|