Skip to content

Commit ec013da

Browse files
committed
Update test case diffs to remove redundant comments about property mangling regex
1 parent ab37593 commit ec013da

2 files changed

Lines changed: 1 addition & 14 deletions

File tree

  • apps/editor/src/commands/apply-chat-response-command/utils/edit-formats/diffs/test-cases/generic-1

apps/editor/src/commands/apply-chat-response-command/utils/edit-formats/diffs/test-cases/generic-1/diff.txt

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,9 @@
1818
moduleLoader.options.additionalData = `@use "${path.resolve(
1919
__dirname,
2020
@@ -0,0 +0,0 @@
21-
- // Mangle properties suffixed with _ (and not __) or prefixed with cn_.
2221
mangle: {
2322
properties: {
24-
// Mangle properties suffixed with _ (and not __) or prefixed with cn_.
23+
- // Mangle properties suffixed with _ (and not __) or prefixed with cn_.
2524
regex: /[^_]_$|^_$|^cn_/
2625
}
2726
}
28-
@@ -0,0 +0,0 @@
29-
-// robots: {
30-
-// index: false,
31-
-// follow: false
32-
-// }
33-
export const metadata = {
34-
// robots: {
35-
// index: false,
36-
// follow: false
37-
// }
38-
}

apps/editor/src/commands/apply-chat-response-command/utils/edit-formats/diffs/test-cases/generic-1/expected.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ const next_config = {
104104
terserOptions: {
105105
mangle: {
106106
properties: {
107-
// Mangle properties suffixed with _ (and not __) or prefixed with cn_.
108107
regex: /[^_]_$|^_$|^cn_/
109108
}
110109
}

0 commit comments

Comments
 (0)