Skip to content

Commit

Permalink
Update jest printBasicPrototype config (#26142)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymqy authored Feb 10, 2023
1 parent 6396b66 commit 55542bc
Show file tree
Hide file tree
Showing 21 changed files with 984 additions and 987 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe('createEventTarget', () => {
const target = createEventTarget(node);
expect(target.node).toEqual(node);
expect(Object.keys(target)).toMatchInlineSnapshot(`
Array [
[
"node",
"blur",
"click",
Expand Down Expand Up @@ -337,7 +337,7 @@ describe('createEventTarget', () => {
test('.setBoundingClientRect()', () => {
const target = createEventTarget(node);
expect(node.getBoundingClientRect()).toMatchInlineSnapshot(`
Object {
{
"bottom": 0,
"height": 0,
"left": 0,
Expand All @@ -350,7 +350,7 @@ describe('createEventTarget', () => {
`);
target.setBoundingClientRect({x: 10, y: 20, width: 100, height: 200});
expect(node.getBoundingClientRect()).toMatchInlineSnapshot(`
Object {
{
"bottom": 220,
"height": 200,
"left": 10,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
exports[`ReactARTComponents should generate a <Shape> where top radius is 0 if the sum of the top radius is greater than width 1`] = `
<Shape
d={
Object {
{
"_pivotX": 0,
"_pivotY": 0,
"path": Array [
"path": [
[Function],
[Function],
[Function],
Expand All @@ -28,10 +28,10 @@ exports[`ReactARTComponents should generate a <Shape> where top radius is 0 if t
exports[`ReactARTComponents should generate a <Shape> with a radius property of 0 when bottom left radius prop is negative 1`] = `
<Shape
d={
Object {
{
"_pivotX": 0,
"_pivotY": 0,
"path": Array [
"path": [
[Function],
[Function],
[Function],
Expand All @@ -52,10 +52,10 @@ exports[`ReactARTComponents should generate a <Shape> with a radius property of
exports[`ReactARTComponents should generate a <Shape> with a radius property of 0 when bottom right radius prop is negative 1`] = `
<Shape
d={
Object {
{
"_pivotX": 0,
"_pivotY": 0,
"path": Array [
"path": [
[Function],
[Function],
[Function],
Expand All @@ -76,10 +76,10 @@ exports[`ReactARTComponents should generate a <Shape> with a radius property of
exports[`ReactARTComponents should generate a <Shape> with a radius property of 0 when top left radius prop is negative 1`] = `
<Shape
d={
Object {
{
"_pivotX": 0,
"_pivotY": 0,
"path": Array [
"path": [
[Function],
[Function],
[Function],
Expand All @@ -100,10 +100,10 @@ exports[`ReactARTComponents should generate a <Shape> with a radius property of
exports[`ReactARTComponents should generate a <Shape> with a radius property of 0 when top right radius prop is negative 1`] = `
<Shape
d={
Object {
{
"_pivotX": 0,
"_pivotY": 0,
"path": Array [
"path": [
[Function],
[Function],
[Function],
Expand All @@ -124,10 +124,10 @@ exports[`ReactARTComponents should generate a <Shape> with a radius property of
exports[`ReactARTComponents should generate a <Shape> with positive height when height prop is negative 1`] = `
<Shape
d={
Object {
{
"_pivotX": 0,
"_pivotY": -50,
"path": Array [
"path": [
[Function],
[Function],
[Function],
Expand All @@ -148,10 +148,10 @@ exports[`ReactARTComponents should generate a <Shape> with positive height when
exports[`ReactARTComponents should generate a <Shape> with positive width when width prop is negative 1`] = `
<Shape
d={
Object {
{
"_pivotX": -50,
"_pivotY": 0,
"path": Array [
"path": [
[Function],
[Function],
[Function],
Expand All @@ -172,10 +172,10 @@ exports[`ReactARTComponents should generate a <Shape> with positive width when w
exports[`ReactARTComponents should generate a <Shape> with props for drawing the Circle 1`] = `
<Shape
d={
Object {
{
"_pivotX": 0,
"_pivotY": -10,
"path": Array [
"path": [
[Function],
[Function],
[Function],
Expand All @@ -197,10 +197,10 @@ exports[`ReactARTComponents should generate a <Shape> with props for drawing the
exports[`ReactARTComponents should generate a <Shape> with props for drawing the Rectangle 1`] = `
<Shape
d={
Object {
{
"_pivotX": 0,
"_pivotY": 0,
"path": Array [
"path": [
[Function],
[Function],
[Function],
Expand All @@ -223,10 +223,10 @@ exports[`ReactARTComponents should generate a <Shape> with props for drawing the
exports[`ReactARTComponents should generate a <Shape> with props for drawing the Wedge 1`] = `
<Shape
d={
Object {
{
"_pivotX": 0,
"_pivotY": 50,
"path": Array [
"path": [
[Function],
[Function],
[Function],
Expand Down
Loading

0 comments on commit 55542bc

Please sign in to comment.