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
Updates tests for the merge conflict resolution v5 (#6892)
## What's the problem this PR addresses?
This PR updates the tests to account for changes in the v5+ releases,
which will use `--theirs` as merge conflict resolution strategy to fix
bugs in which users could end up erasing changes from the upstream
branch when merging their own changes (due to us trying to override
existing ranges).
## Checklist
<!--- Don't worry if you miss something, chores are automatically
tested. -->
<!--- This checklist exists to help you remember doing the chores when
you submit a PR. -->
<!--- Put an `x` in all the boxes that apply. -->
- [x] I have read the [Contributing
Guide](https://yarnpkg.com/advanced/contributing).
<!-- See
https://yarnpkg.com/advanced/contributing#preparing-your-pr-to-be-released
for more details. -->
<!-- Check with `yarn version check` and fix with `yarn version check
-i` -->
- [x] I have set the packages that need to be released for my changes to
be effective.
<!-- The "Testing chores" workflow validates that your PR follows our
guidelines. -->
<!-- If it doesn't pass, click on it to see details as to what your PR
might be missing. -->
- [x] I will check that all automated PR checks pass before the PR gets
reviewed.
Copy file name to clipboardExpand all lines: packages/acceptance-tests/pkg-tests-specs/sources/features/__snapshots__/mergeConflictResolution.test.ts.snap
+2-152Lines changed: 2 additions & 152 deletions
Original file line number
Diff line number
Diff line change
@@ -1,173 +1,23 @@
1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
-
exports[`Features Merge Conflict Resolution it should properly fix merge conflicts 1`] =`
4
-
"# This file is generated by running "yarn install" inside your project.
5
-
# Manual changes might be lost - proceed with caution!
6
-
7
-
__metadata:
8
-
version: X
9
-
cacheKey: 0c0
10
-
11
-
"no-deps@npm:*":
12
-
<<<<<<< HEAD
13
-
version:1.0.0
14
-
resolution:"no-deps@npm:1.0.0"
15
-
checksum:<checksumstripped>
16
-
=======
17
-
version: 2.0.0
18
-
resolution: "no-deps@npm:2.0.0"
19
-
checksum: <checksumstripped>
20
-
>>>>>>> 2.0.0
21
-
languageName: node
22
-
linkType: hard
23
-
24
-
"root-workspace-0b6124@workspace:.":
25
-
version: 0.0.0-use.local
26
-
resolution: "root-workspace-0b6124@workspace:."
27
-
dependencies:
28
-
no-deps: "npm:*"
29
-
languageName: unknown
30
-
linkType: soft
31
-
"
32
-
`;
33
-
34
-
exports[`Features Merge Conflict Resolution it should properly fix merge conflicts 2`] = `
0 commit comments