Skip to content

Commit 55542bc

Browse files
authored
Update jest printBasicPrototype config (#26142)
1 parent 6396b66 commit 55542bc

File tree

21 files changed

+984
-987
lines changed

21 files changed

+984
-987
lines changed

packages/dom-event-testing-library/__tests__/index-test.internal.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ describe('createEventTarget', () => {
4949
const target = createEventTarget(node);
5050
expect(target.node).toEqual(node);
5151
expect(Object.keys(target)).toMatchInlineSnapshot(`
52-
Array [
52+
[
5353
"node",
5454
"blur",
5555
"click",
@@ -337,7 +337,7 @@ describe('createEventTarget', () => {
337337
test('.setBoundingClientRect()', () => {
338338
const target = createEventTarget(node);
339339
expect(node.getBoundingClientRect()).toMatchInlineSnapshot(`
340-
Object {
340+
{
341341
"bottom": 0,
342342
"height": 0,
343343
"left": 0,
@@ -350,7 +350,7 @@ describe('createEventTarget', () => {
350350
`);
351351
target.setBoundingClientRect({x: 10, y: 20, width: 100, height: 200});
352352
expect(node.getBoundingClientRect()).toMatchInlineSnapshot(`
353-
Object {
353+
{
354354
"bottom": 220,
355355
"height": 200,
356356
"left": 10,

packages/react-art/src/__tests__/__snapshots__/ReactART-test.js.snap

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
exports[`ReactARTComponents should generate a <Shape> where top radius is 0 if the sum of the top radius is greater than width 1`] = `
44
<Shape
55
d={
6-
Object {
6+
{
77
"_pivotX": 0,
88
"_pivotY": 0,
9-
"path": Array [
9+
"path": [
1010
[Function],
1111
[Function],
1212
[Function],
@@ -28,10 +28,10 @@ exports[`ReactARTComponents should generate a <Shape> where top radius is 0 if t
2828
exports[`ReactARTComponents should generate a <Shape> with a radius property of 0 when bottom left radius prop is negative 1`] = `
2929
<Shape
3030
d={
31-
Object {
31+
{
3232
"_pivotX": 0,
3333
"_pivotY": 0,
34-
"path": Array [
34+
"path": [
3535
[Function],
3636
[Function],
3737
[Function],
@@ -52,10 +52,10 @@ exports[`ReactARTComponents should generate a <Shape> with a radius property of
5252
exports[`ReactARTComponents should generate a <Shape> with a radius property of 0 when bottom right radius prop is negative 1`] = `
5353
<Shape
5454
d={
55-
Object {
55+
{
5656
"_pivotX": 0,
5757
"_pivotY": 0,
58-
"path": Array [
58+
"path": [
5959
[Function],
6060
[Function],
6161
[Function],
@@ -76,10 +76,10 @@ exports[`ReactARTComponents should generate a <Shape> with a radius property of
7676
exports[`ReactARTComponents should generate a <Shape> with a radius property of 0 when top left radius prop is negative 1`] = `
7777
<Shape
7878
d={
79-
Object {
79+
{
8080
"_pivotX": 0,
8181
"_pivotY": 0,
82-
"path": Array [
82+
"path": [
8383
[Function],
8484
[Function],
8585
[Function],
@@ -100,10 +100,10 @@ exports[`ReactARTComponents should generate a <Shape> with a radius property of
100100
exports[`ReactARTComponents should generate a <Shape> with a radius property of 0 when top right radius prop is negative 1`] = `
101101
<Shape
102102
d={
103-
Object {
103+
{
104104
"_pivotX": 0,
105105
"_pivotY": 0,
106-
"path": Array [
106+
"path": [
107107
[Function],
108108
[Function],
109109
[Function],
@@ -124,10 +124,10 @@ exports[`ReactARTComponents should generate a <Shape> with a radius property of
124124
exports[`ReactARTComponents should generate a <Shape> with positive height when height prop is negative 1`] = `
125125
<Shape
126126
d={
127-
Object {
127+
{
128128
"_pivotX": 0,
129129
"_pivotY": -50,
130-
"path": Array [
130+
"path": [
131131
[Function],
132132
[Function],
133133
[Function],
@@ -148,10 +148,10 @@ exports[`ReactARTComponents should generate a <Shape> with positive height when
148148
exports[`ReactARTComponents should generate a <Shape> with positive width when width prop is negative 1`] = `
149149
<Shape
150150
d={
151-
Object {
151+
{
152152
"_pivotX": -50,
153153
"_pivotY": 0,
154-
"path": Array [
154+
"path": [
155155
[Function],
156156
[Function],
157157
[Function],
@@ -172,10 +172,10 @@ exports[`ReactARTComponents should generate a <Shape> with positive width when w
172172
exports[`ReactARTComponents should generate a <Shape> with props for drawing the Circle 1`] = `
173173
<Shape
174174
d={
175-
Object {
175+
{
176176
"_pivotX": 0,
177177
"_pivotY": -10,
178-
"path": Array [
178+
"path": [
179179
[Function],
180180
[Function],
181181
[Function],
@@ -197,10 +197,10 @@ exports[`ReactARTComponents should generate a <Shape> with props for drawing the
197197
exports[`ReactARTComponents should generate a <Shape> with props for drawing the Rectangle 1`] = `
198198
<Shape
199199
d={
200-
Object {
200+
{
201201
"_pivotX": 0,
202202
"_pivotY": 0,
203-
"path": Array [
203+
"path": [
204204
[Function],
205205
[Function],
206206
[Function],
@@ -223,10 +223,10 @@ exports[`ReactARTComponents should generate a <Shape> with props for drawing the
223223
exports[`ReactARTComponents should generate a <Shape> with props for drawing the Wedge 1`] = `
224224
<Shape
225225
d={
226-
Object {
226+
{
227227
"_pivotX": 0,
228228
"_pivotY": 50,
229-
"path": Array [
229+
"path": [
230230
[Function],
231231
[Function],
232232
[Function],

0 commit comments

Comments
 (0)