Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jest printBasicPrototype config #26142

Merged
merged 3 commits into from
Feb 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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