Skip to content

Commit 6f6c81f

Browse files
committed
add integration test for patch-parse-failure
1 parent 48c419f commit 6f6c81f

File tree

29 files changed

+150
-26
lines changed

29 files changed

+150
-26
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
import { runIntegrationTest } from "../runIntegrationTest"
22

3-
runIntegrationTest("adding-and-deleting-files", false)
3+
runIntegrationTest({
4+
projectName: "adding-and-deleting-files",
5+
shouldProduceSnapshots: false,
6+
})
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
import { runIntegrationTest } from "../runIntegrationTest"
2-
runIntegrationTest("broken-patch-file", true)
2+
runIntegrationTest({
3+
projectName: "broken-patch-file",
4+
shouldProduceSnapshots: true,
5+
})
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
import { runIntegrationTest } from "../runIntegrationTest"
2-
runIntegrationTest("custom-patch-dir", false)
2+
runIntegrationTest({
3+
projectName: "custom-patch-dir",
4+
shouldProduceSnapshots: false,
5+
})
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
import { runIntegrationTest } from "../runIntegrationTest"
2-
runIntegrationTest("custom-resolutions", false)
2+
runIntegrationTest({
3+
projectName: "custom-resolutions",
4+
shouldProduceSnapshots: false,
5+
})
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
import { runIntegrationTest } from "../runIntegrationTest"
2-
runIntegrationTest("delete-old-patch-files", false)
2+
runIntegrationTest({
3+
projectName: "delete-old-patch-files",
4+
shouldProduceSnapshots: false,
5+
})
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
import { runIntegrationTest } from "../runIntegrationTest"
22

3-
runIntegrationTest("delete-scripts")
3+
runIntegrationTest({
4+
projectName: "delete-scripts",
5+
shouldProduceSnapshots: true,
6+
})
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
import { runIntegrationTest } from "../runIntegrationTest"
2-
runIntegrationTest("file-mode-changes", true)
2+
runIntegrationTest({
3+
projectName: "file-mode-changes",
4+
shouldProduceSnapshots: true,
5+
})
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
import { runIntegrationTest } from "../runIntegrationTest"
2-
runIntegrationTest("happy-path-npm")
2+
runIntegrationTest({
3+
projectName: "happy-path-npm",
4+
shouldProduceSnapshots: true,
5+
})
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
import { runIntegrationTest } from "../runIntegrationTest"
2-
runIntegrationTest("happy-path-yarn")
2+
runIntegrationTest({
3+
projectName: "happy-path-yarn",
4+
shouldProduceSnapshots: true,
5+
})
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
import { runIntegrationTest } from "../runIntegrationTest"
22

3-
runIntegrationTest("ignore-whitespace")
3+
runIntegrationTest({
4+
projectName: "ignore-whitespace",
5+
shouldProduceSnapshots: true,
6+
})

0 commit comments

Comments
 (0)