Skip to content

Commit

Permalink
chore: update snapshots (#2817)
Browse files Browse the repository at this point in the history
Babel repo is updated in #2813 and #2814
  • Loading branch information
Dunqing committed Mar 26, 2024
1 parent dcbbda3 commit 220f722
Show file tree
Hide file tree
Showing 5 changed files with 304 additions and 175 deletions.
4 changes: 2 additions & 2 deletions tasks/coverage/codegen_babel.snap
@@ -1,3 +1,3 @@
codegen_babel Summary:
AST Parsed : 2096/2096 (100.00%)
Positive Passed: 2096/2096 (100.00%)
AST Parsed : 2097/2097 (100.00%)
Positive Passed: 2097/2097 (100.00%)
13 changes: 10 additions & 3 deletions tasks/coverage/parser_babel.snap
@@ -1,7 +1,7 @@
parser_babel Summary:
AST Parsed : 2090/2096 (99.71%)
Positive Passed: 2083/2096 (99.38%)
Negative Passed: 1362/1500 (90.80%)
AST Parsed : 2091/2097 (99.71%)
Positive Passed: 2084/2097 (99.38%)
Negative Passed: 1363/1501 (90.81%)
Expect Syntax Error: "annex-b/disabled/1.1-html-comments-close/input.js"
Expect Syntax Error: "annex-b/disabled/3.1-sloppy-labeled-functions/input.js"
Expect Syntax Error: "annex-b/disabled/3.1-sloppy-labeled-functions-if-body/input.js"
Expand Down Expand Up @@ -10513,6 +10513,13 @@ Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
· ─────
╰────

× Expected `{` but found `<`
╭─[typescript/types/import-type-dynamic-with-jsx-options/input.ts:1:34]
1 │ let x: typeof import("foo.json", <ImportOptionBagJSX type="json"/>)
· ┬
· ╰── `{` expected
╰────

× Keywords cannot contain escape characters
╭─[typescript/types/import-type-escaped-error/input.ts:1:8]
1 │ import typ\u{65} typescript from "typescript";
Expand Down
5 changes: 3 additions & 2 deletions tasks/coverage/prettier_babel.snap
@@ -1,6 +1,6 @@
prettier_babel Summary:
AST Parsed : 2096/2096 (100.00%)
Positive Passed: 1891/2096 (90.22%)
AST Parsed : 2097/2097 (100.00%)
Positive Passed: 1891/2097 (90.18%)
Expect to Parse: "comments/attachComment-false/array-expression-trailing-comma/input.js"
Expect to Parse: "comments/basic/array-expression-trailing-comma/input.js"
Expect to Parse: "comments/basic/object-expression-trailing-comma/input.js"
Expand Down Expand Up @@ -161,6 +161,7 @@ Expect to Parse: "typescript/types/function-in-generic-babel-7/input.ts"
Expect to Parse: "typescript/types/function-with-this/input.ts"
Expect to Parse: "typescript/types/function-with-this-babel-7/input.ts"
Expect to Parse: "typescript/types/import-type-dynamic/input.ts"
Expect to Parse: "typescript/types/import-type-dynamic-with-options/input.ts"
Expect to Parse: "typescript/types/infer-with-constraints/input.ts"
Expect to Parse: "typescript/types/infer-with-constraints-and-conditional-types/input.ts"
Expect to Parse: "typescript/types/infer-with-constraints-and-conditional-types-babel-7/input.ts"
Expand Down

0 comments on commit 220f722

Please sign in to comment.