-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove stack trace from error snapshots
- Loading branch information
1 parent
97ec7db
commit 4dc8dcf
Showing
11 changed files
with
11 additions
and
34 deletions.
There are no files selected for viewing
3 changes: 1 addition & 2 deletions
3
...__tests__/fixtures/const/__snapshots__/const-mutation-error/web.render.error.expected.txt
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 |
---|---|---|
@@ -1,2 +1 @@ | ||
TypeError: Cannot add property fullName, object is not extensible | ||
at /src/__tests__/fixture.ts | ||
TypeError: Cannot add property fullName, object is not extensible |
5 changes: 1 addition & 4 deletions
5
...et-and-set/__snapshots__/get-read-assign-to-missing-context/web.step-0.error.expected.txt
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 |
---|---|---|
@@ -1,4 +1 @@ | ||
Error: Assignment to constant variable. | ||
at /src/__tests__/fire-event.ts | ||
at /src/__tests__/fixtures/get-and-set/index.test.ts | ||
at /src/__tests__/fixture.ts | ||
Error: Assignment to constant variable. |
5 changes: 1 addition & 4 deletions
5
...tures/get-and-set/__snapshots__/get-set-assign-to-const-set/web.step-0.error.expected.txt
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 |
---|---|---|
@@ -1,4 +1 @@ | ||
Error: Assignment to constant variable. | ||
at /src/__tests__/fire-event.ts | ||
at /src/__tests__/fixtures/get-and-set/index.test.ts | ||
at /src/__tests__/fixture.ts | ||
Error: Assignment to constant variable. |
5 changes: 1 addition & 4 deletions
5
...et-and-set/__snapshots__/get-set-assign-to-nested-const-set/web.step-0.error.expected.txt
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 |
---|---|---|
@@ -1,4 +1 @@ | ||
Error: Assignment to constant variable. | ||
at /src/__tests__/fire-event.ts | ||
at /src/__tests__/fixtures/get-and-set/index.test.ts | ||
at /src/__tests__/fixture.ts | ||
Error: Assignment to constant variable. |
5 changes: 1 addition & 4 deletions
5
...misc-hoisting/error-maybe-sync-read-before-with-custom-tag/node.render.error.expected.txt
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 |
---|---|---|
@@ -1,4 +1 @@ | ||
ReferenceError: Cannot access 'x' before initialization | ||
at /src/transform/hoist-tag-vars/index.ts | ||
at /src/__tests__/fixtures/misc/hoisting/templates/error-hoisting-maybe-sync-read-before-with-custom-tag.marko | ||
at /src/__tests__/fixture.ts | ||
ReferenceError: Cannot access 'x' before initialization |
3 changes: 1 addition & 2 deletions
3
.../misc-hoisting/error-maybe-sync-read-before-with-custom-tag/web.render.error.expected.txt
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 |
---|---|---|
@@ -1,2 +1 @@ | ||
ReferenceError: Cannot access 'x' before initialization | ||
at /src/__tests__/fixtures/misc/hoisting/templates/error-hoisting-maybe-sync-read-before-with-custom-tag.marko | ||
ReferenceError: Cannot access 'x' before initialization |
6 changes: 1 addition & 5 deletions
6
...g/__snapshots__/misc-hoisting/error-maybe-sync-read-before/node.render.error.expected.txt
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 |
---|---|---|
@@ -1,5 +1 @@ | ||
ReferenceError: Cannot access 'x' before initialization | ||
at /src/transform/hoist-tag-vars/index.ts | ||
at /src/__tests__/fixtures/misc/hoisting/templates/error-hoisting-maybe-sync-read-before.marko | ||
at /src/__tests__/fixtures/misc/hoisting/templates/error-hoisting-maybe-sync-read-before.marko | ||
at /src/__tests__/fixture.ts | ||
ReferenceError: Cannot access 'x' before initialization |
4 changes: 1 addition & 3 deletions
4
...ng/__snapshots__/misc-hoisting/error-maybe-sync-read-before/web.render.error.expected.txt
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 |
---|---|---|
@@ -1,3 +1 @@ | ||
ReferenceError: Cannot access 'x' before initialization | ||
at /src/__tests__/fixtures/misc/hoisting/templates/error-hoisting-maybe-sync-read-before.marko | ||
at /src/__tests__/fixtures/misc/hoisting/templates/error-hoisting-maybe-sync-read-before.marko | ||
ReferenceError: Cannot access 'x' before initialization |
3 changes: 1 addition & 2 deletions
3
...__snapshots__/misc-native-tag-vars/error-read-before-mount/node.render.error.expected.txt
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 |
---|---|---|
@@ -1,2 +1 @@ | ||
Error: Cannot read an element reference while rendering. | ||
at /src/__tests__/fixture.ts | ||
Error: Cannot read an element reference while rendering. |
3 changes: 1 addition & 2 deletions
3
.../__snapshots__/misc-native-tag-vars/error-read-before-mount/web.render.error.expected.txt
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 |
---|---|---|
@@ -1,2 +1 @@ | ||
Error: Cannot read an element reference while rendering. | ||
at /src/__tests__/fixture.ts | ||
Error: Cannot read an element reference while rendering. |
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