-
-
Notifications
You must be signed in to change notification settings - Fork 484
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handle chain expression is a callee of CallExpression
- Loading branch information
Showing
3 changed files
with
82 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,9 +11,9 @@ Error: 'eval' and 'arguments' cannot be used as a binding identifier in strict m | |
❯ ssrTransformScript ../../node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:52319:11 | ||
❯ loadAndTransform ../../node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:51917:72 | ||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/20]⎯ | ||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/18]⎯ | ||
|
||
⎯⎯⎯⎯⎯⎯ Failed Tests 19 ⎯⎯⎯⎯⎯⎯⎯ | ||
⎯⎯⎯⎯⎯⎯ Failed Tests 17 ⎯⎯⎯⎯⎯⎯⎯ | ||
|
||
FAIL fixtures/babel-plugin-transform-object-rest-spread-test-fixtures-assumption-objectRestNoSymbols-rest-ignore-symbols-exec.test.js > exec | ||
AssertionError: expected true to be false // Object.is equality | ||
|
@@ -31,7 +31,7 @@ AssertionError: expected true to be false // Object.is equality | |
| ^ | ||
13| }) | ||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/20]⎯ | ||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/18]⎯ | ||
|
||
FAIL fixtures/babel-plugin-transform-object-rest-spread-test-fixtures-assumption-pureGetters-rest-remove-unused-excluded-keys-exec.test.js > exec | ||
AssertionError: expected true to be false // Object.is equality | ||
|
@@ -49,7 +49,7 @@ AssertionError: expected true to be false // Object.is equality | |
| ^ | ||
11| }) | ||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/20]⎯ | ||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/18]⎯ | ||
|
||
FAIL fixtures/babel-plugin-transform-object-rest-spread-test-fixtures-assumption-pureGetters-spread-single-call-exec.test.js > exec | ||
AssertionError: expected { foo: +0, middle: 1, bar: 1 } to deeply equal { foo: +0, middle: +0, bar: 1 } | ||
|
@@ -72,7 +72,7 @@ AssertionError: expected { foo: +0, middle: 1, bar: 1 } to deeply equal { foo: + | |
13| foo: 0, | ||
14| middle: 0, | ||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[4/20]⎯ | ||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[4/18]⎯ | ||
|
||
FAIL fixtures/babel-plugin-transform-object-rest-spread-test-fixtures-assumption-setSpreadProperties-no-object-assign-exec-exec.test.js > exec | ||
AssertionError: expected [Function] to throw an error | ||
|
@@ -84,7 +84,7 @@ AssertionError: expected [Function] to throw an error | |
14| const obj2 = { "NOWRITE": 456 }; | ||
15| expect(() => { | ||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[5/20]⎯ | ||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[5/18]⎯ | ||
|
||
FAIL fixtures/babel-plugin-transform-object-rest-spread-test-fixtures-assumption-setSpreadProperties-with-useBuiltIns-no-object-assign-exec-exec.test.js > exec | ||
AssertionError: expected [Function] to throw an error | ||
|
@@ -96,7 +96,7 @@ AssertionError: expected [Function] to throw an error | |
14| const obj2 = { "NOWRITE": 456 }; | ||
15| expect(() => { | ||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[6/20]⎯ | ||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[6/18]⎯ | ||
|
||
FAIL fixtures/babel-plugin-transform-object-rest-spread-test-fixtures-object-spread-expression-exec.test.js > exec | ||
AssertionError: expected [ 1, 2 ] to deeply equal [ 1 ] | ||
|
@@ -116,7 +116,7 @@ AssertionError: expected [ 1, 2 ] to deeply equal [ 1 ] | |
| ^ | ||
11| }) | ||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[7/20]⎯ | ||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[7/18]⎯ | ||
|
||
FAIL fixtures/babel-plugin-transform-object-rest-spread-test-fixtures-object-spread-loose-builtins-side-effect-exec.test.js > exec | ||
AssertionError: expected { a: 1, b: 1 } to deeply equal { a: 2, b: 1 } | ||
|
@@ -138,7 +138,7 @@ AssertionError: expected { a: 1, b: 1 } to deeply equal { a: 2, b: 1 } | |
10| a: 2, | ||
11| b: 1 | ||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[8/20]⎯ | ||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[8/18]⎯ | ||
|
||
FAIL fixtures/babel-plugin-transform-object-rest-spread-test-fixtures-object-spread-loose-side-effect-exec.test.js > exec | ||
AssertionError: expected { a: 1, b: 1 } to deeply equal { a: 2, b: 1 } | ||
|
@@ -160,7 +160,7 @@ AssertionError: expected { a: 1, b: 1 } to deeply equal { a: 2, b: 1 } | |
10| a: 2, | ||
11| b: 1 | ||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[9/20]⎯ | ||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[9/18]⎯ | ||
|
||
FAIL fixtures/babel-plugin-transform-optional-chaining-test-fixtures-assumption-noDocumentAll-parenthesized-expression-member-call-exec.test.js > exec | ||
TypeError: Cannot read properties of undefined (reading 'x') | ||
|
@@ -171,10 +171,10 @@ TypeError: Cannot read properties of undefined (reading 'x') | |
| ^ | ||
11| } | ||
12| getSelf() { | ||
❯ Foo.test fixtures/babel-plugin-transform-optional-chaining-test-fixtures-assumption-noDocumentAll-parenthesized-expression-member-call-exec.test.js:22:63 | ||
❯ fixtures/babel-plugin-transform-optional-chaining-test-fixtures-assumption-noDocumentAll-parenthesized-expression-member-call-exec.test.js:65:12 | ||
❯ Foo.test fixtures/babel-plugin-transform-optional-chaining-test-fixtures-assumption-noDocumentAll-parenthesized-expression-member-call-exec.test.js:25:63 | ||
❯ fixtures/babel-plugin-transform-optional-chaining-test-fixtures-assumption-noDocumentAll-parenthesized-expression-member-call-exec.test.js:68:12 | ||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[10/20]⎯ | ||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[10/18]⎯ | ||
|
||
FAIL fixtures/babel-plugin-transform-optional-chaining-test-fixtures-general-parenthesized-expression-member-call-exec.test.js > exec | ||
TypeError: Cannot read properties of undefined (reading 'x') | ||
|
@@ -185,10 +185,10 @@ TypeError: Cannot read properties of undefined (reading 'x') | |
| ^ | ||
11| } | ||
12| getSelf() { | ||
❯ Foo.test fixtures/babel-plugin-transform-optional-chaining-test-fixtures-general-parenthesized-expression-member-call-exec.test.js:22:63 | ||
❯ fixtures/babel-plugin-transform-optional-chaining-test-fixtures-general-parenthesized-expression-member-call-exec.test.js:65:12 | ||
❯ Foo.test fixtures/babel-plugin-transform-optional-chaining-test-fixtures-general-parenthesized-expression-member-call-exec.test.js:25:63 | ||
❯ fixtures/babel-plugin-transform-optional-chaining-test-fixtures-general-parenthesized-expression-member-call-exec.test.js:68:12 | ||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[11/20]⎯ | ||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[11/18]⎯ | ||
|
||
FAIL fixtures/babel-plugin-transform-optional-chaining-test-fixtures-general-parenthesized-expression-member-call-loose-exec.test.js > exec | ||
TypeError: Cannot read properties of undefined (reading 'x') | ||
|
@@ -199,38 +199,10 @@ TypeError: Cannot read properties of undefined (reading 'x') | |
| ^ | ||
11| } | ||
12| getSelf() { | ||
❯ Foo.test fixtures/babel-plugin-transform-optional-chaining-test-fixtures-general-parenthesized-expression-member-call-loose-exec.test.js:22:63 | ||
❯ fixtures/babel-plugin-transform-optional-chaining-test-fixtures-general-parenthesized-expression-member-call-loose-exec.test.js:65:12 | ||
❯ Foo.test fixtures/babel-plugin-transform-optional-chaining-test-fixtures-general-parenthesized-expression-member-call-loose-exec.test.js:25:63 | ||
❯ fixtures/babel-plugin-transform-optional-chaining-test-fixtures-general-parenthesized-expression-member-call-loose-exec.test.js:68:12 | ||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[12/20]⎯ | ||
|
||
FAIL fixtures/babel-plugin-transform-optional-chaining-test-fixtures-general-parenthesized-member-call-exec.test.js > exec | ||
TypeError: Cannot read properties of undefined (reading 'x') | ||
❯ m fixtures/babel-plugin-transform-optional-chaining-test-fixtures-general-parenthesized-member-call-exec.test.js:10:16 | ||
8| } | ||
9| m() { | ||
10| return this.x; | ||
| ^ | ||
11| } | ||
12| getSelf() { | ||
❯ Foo.test fixtures/babel-plugin-transform-optional-chaining-test-fixtures-general-parenthesized-member-call-exec.test.js:22:63 | ||
❯ fixtures/babel-plugin-transform-optional-chaining-test-fixtures-general-parenthesized-member-call-exec.test.js:62:12 | ||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[13/20]⎯ | ||
|
||
FAIL fixtures/babel-plugin-transform-optional-chaining-test-fixtures-general-parenthesized-member-call-loose-exec.test.js > exec | ||
TypeError: Cannot read properties of undefined (reading 'x') | ||
❯ m fixtures/babel-plugin-transform-optional-chaining-test-fixtures-general-parenthesized-member-call-loose-exec.test.js:10:16 | ||
8| } | ||
9| m() { | ||
10| return this.x; | ||
| ^ | ||
11| } | ||
12| getSelf() { | ||
❯ Foo.test fixtures/babel-plugin-transform-optional-chaining-test-fixtures-general-parenthesized-member-call-loose-exec.test.js:22:63 | ||
❯ fixtures/babel-plugin-transform-optional-chaining-test-fixtures-general-parenthesized-member-call-loose-exec.test.js:62:12 | ||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[14/20]⎯ | ||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[12/18]⎯ | ||
|
||
FAIL fixtures/babel-plugin-transform-optional-chaining-test-fixtures-regression-15887-exec.test.js > exec | ||
AssertionError: expected false to be undefined // Object.is equality | ||
|
@@ -248,7 +220,7 @@ false | |
| ^ | ||
7| }) | ||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[15/20]⎯ | ||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[13/18]⎯ | ||
|
||
FAIL fixtures/babel-plugin-transform-react-jsx-source-test-fixtures-react-source-basic-sample-exec.test.js > exec | ||
ReferenceError: transformAsync is not defined | ||
|
@@ -260,7 +232,7 @@ ReferenceError: transformAsync is not defined | |
5| var expected = ` | ||
6| var _jsxFileName = "/fake/path/mock.js"; | ||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[16/20]⎯ | ||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[14/18]⎯ | ||
|
||
FAIL fixtures/babel-plugin-transform-react-jsx-source-test-fixtures-react-source-with-source-exec.test.js > exec | ||
ReferenceError: transformAsync is not defined | ||
|
@@ -272,7 +244,7 @@ ReferenceError: transformAsync is not defined | |
5| var expected = "var x = <sometag __source=\"custom\" />;"; | ||
6| return actualP.then((actual) => { | ||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[17/20]⎯ | ||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[15/18]⎯ | ||
|
||
FAIL fixtures/babel-preset-env-test-fixtures-plugins-integration-issue-15170-exec.test.js > exec | ||
AssertionError: expected [Function] to not throw an error but 'ReferenceError: x is not defined' was thrown | ||
|
@@ -290,7 +262,7 @@ undefined | |
| ^ | ||
7| }) | ||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[18/20]⎯ | ||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[16/18]⎯ | ||
|
||
FAIL fixtures/babel-preset-env-test-fixtures-sanity-check-es2015-constants-exec.test.js > exec | ||
TypeError: Assignment to constant variable. | ||
|
@@ -301,7 +273,7 @@ TypeError: Assignment to constant variable. | |
| ^ | ||
6| }) | ||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[19/20]⎯ | ||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[17/18]⎯ | ||
|
||
FAIL fixtures/babel-preset-env-test-fixtures-sanity-regex-dot-all-exec.test.js > exec | ||
AssertionError: expected false to be true // Object.is equality | ||
|
@@ -320,5 +292,5 @@ AssertionError: expected false to be true // Object.is equality | |
11| expect(/hello.world/su.test(input)).toBe(true); | ||
12| }) | ||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[20/20]⎯ | ||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[18/18]⎯ | ||
|