Skip to content

Commit

Permalink
oops, fixing the snapshots directly on master
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsbajorics committed Jul 19, 2024
1 parent 90af551 commit 0347bcb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1260,11 +1260,12 @@ Array [
exports[`React Render Count Tests - Clicking on opacity slider with a less simple project 2`] = `
Array [
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/Symbol(react.memo)()",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/UtopiaSpiedFunctionComponent(DomWalkerWrapper)",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/UtopiaSpiedClass(RemoteDependencyBoundary)",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/UtopiaSpiedClass(CanvasErrorBoundary)",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/UtopiaSpiedFunctionComponent(CanvasInner)",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/div",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/UtopiaSpiedExoticType(Symbol(react.fragment))",
"/UtopiaSpiedExoticType(Symbol(react.fragment))/div/UtopiaSpiedFunctionComponent(CanvasInner)/UtopiaSpiedFunctionComponent(DomWalkerWrapper)",
"/UtopiaSpiedExoticType(Symbol(react.fragment))/div/UtopiaSpiedFunctionComponent(CanvasInner)/UtopiaSpiedClass(RemoteDependencyBoundary)",
"/UtopiaSpiedExoticType(Symbol(react.fragment))/div/UtopiaSpiedFunctionComponent(CanvasInner)/UtopiaSpiedClass(CanvasErrorBoundary)",
"/UtopiaSpiedClass(CanvasErrorBoundary)/UtopiaSpiedClass(RemoteDependencyBoundary)/UtopiaSpiedFunctionComponent(DomWalkerWrapper)/Symbol(react.memo)()",
"/UtopiaSpiedClass(CanvasErrorBoundary)/UtopiaSpiedClass(RemoteDependencyBoundary)/UtopiaSpiedFunctionComponent(DomWalkerWrapper)/UtopiaSpiedFunctionComponent(Provider)",
"/UtopiaSpiedClass(RemoteDependencyBoundary)/UtopiaSpiedFunctionComponent(DomWalkerWrapper)/UtopiaSpiedFunctionComponent(Provider)/UtopiaSpiedExoticType(Symbol(react.fragment))",
Expand Down Expand Up @@ -1559,11 +1560,12 @@ Array [
"/UtopiaSpiedExoticType(Symbol(react.fragment))/UtopiaSpiedExoticType(Symbol(react.fragment))/EventHandlersSection/UtopiaSpiedExoticType(Symbol(react.fragment))",
"//UtopiaSpiedExoticType(Symbol(react.fragment))/PropertyLabel/Symbol(react.forward_ref)(EmotionCssPropInternal)",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/Symbol(react.memo)()",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/UtopiaSpiedFunctionComponent(DomWalkerWrapper)",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/UtopiaSpiedClass(RemoteDependencyBoundary)",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/UtopiaSpiedClass(CanvasErrorBoundary)",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/UtopiaSpiedFunctionComponent(CanvasInner)",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/div",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/UtopiaSpiedExoticType(Symbol(react.fragment))",
"/UtopiaSpiedExoticType(Symbol(react.fragment))/div/UtopiaSpiedFunctionComponent(CanvasInner)/UtopiaSpiedFunctionComponent(DomWalkerWrapper)",
"/UtopiaSpiedExoticType(Symbol(react.fragment))/div/UtopiaSpiedFunctionComponent(CanvasInner)/UtopiaSpiedClass(RemoteDependencyBoundary)",
"/UtopiaSpiedExoticType(Symbol(react.fragment))/div/UtopiaSpiedFunctionComponent(CanvasInner)/UtopiaSpiedClass(CanvasErrorBoundary)",
"/UtopiaSpiedClass(CanvasErrorBoundary)/UtopiaSpiedClass(RemoteDependencyBoundary)/UtopiaSpiedFunctionComponent(DomWalkerWrapper)/Symbol(react.memo)()",
"/UtopiaSpiedClass(CanvasErrorBoundary)/UtopiaSpiedClass(RemoteDependencyBoundary)/UtopiaSpiedFunctionComponent(DomWalkerWrapper)/UtopiaSpiedFunctionComponent(Provider)",
"/UtopiaSpiedClass(RemoteDependencyBoundary)/UtopiaSpiedFunctionComponent(DomWalkerWrapper)/UtopiaSpiedFunctionComponent(Provider)/UtopiaSpiedExoticType(Symbol(react.fragment))",
Expand Down Expand Up @@ -2404,11 +2406,12 @@ Array [
exports[`React Render Count Tests - Clicking on opacity slider with a simple project 2`] = `
Array [
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/Symbol(react.memo)()",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/UtopiaSpiedFunctionComponent(DomWalkerWrapper)",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/UtopiaSpiedClass(RemoteDependencyBoundary)",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/UtopiaSpiedClass(CanvasErrorBoundary)",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/UtopiaSpiedFunctionComponent(CanvasInner)",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/div",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/UtopiaSpiedExoticType(Symbol(react.fragment))",
"/UtopiaSpiedExoticType(Symbol(react.fragment))/div/UtopiaSpiedFunctionComponent(CanvasInner)/UtopiaSpiedFunctionComponent(DomWalkerWrapper)",
"/UtopiaSpiedExoticType(Symbol(react.fragment))/div/UtopiaSpiedFunctionComponent(CanvasInner)/UtopiaSpiedClass(RemoteDependencyBoundary)",
"/UtopiaSpiedExoticType(Symbol(react.fragment))/div/UtopiaSpiedFunctionComponent(CanvasInner)/UtopiaSpiedClass(CanvasErrorBoundary)",
"/UtopiaSpiedClass(CanvasErrorBoundary)/UtopiaSpiedClass(RemoteDependencyBoundary)/UtopiaSpiedFunctionComponent(DomWalkerWrapper)/Symbol(react.memo)()",
"/UtopiaSpiedClass(CanvasErrorBoundary)/UtopiaSpiedClass(RemoteDependencyBoundary)/UtopiaSpiedFunctionComponent(DomWalkerWrapper)/UtopiaSpiedFunctionComponent(Provider)",
"/UtopiaSpiedClass(RemoteDependencyBoundary)/UtopiaSpiedFunctionComponent(DomWalkerWrapper)/UtopiaSpiedFunctionComponent(Provider)/UtopiaSpiedExoticType(Symbol(react.fragment))",
Expand Down Expand Up @@ -2691,11 +2694,12 @@ Array [
"/UtopiaSpiedExoticType(Symbol(react.fragment))/UtopiaSpiedExoticType(Symbol(react.fragment))/TextShadowSubsection/div",
"/UtopiaSpiedExoticType(Symbol(react.fragment))/UtopiaSpiedExoticType(Symbol(react.fragment))/TextShadowSubsection/UtopiaSpiedFunctionComponent(InspectorContextMenuWrapper)",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/Symbol(react.memo)()",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/UtopiaSpiedFunctionComponent(DomWalkerWrapper)",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/UtopiaSpiedClass(RemoteDependencyBoundary)",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/UtopiaSpiedClass(CanvasErrorBoundary)",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/UtopiaSpiedFunctionComponent(CanvasInner)",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/div",
"/UtopiaSpiedExoticType(Symbol(react.provider))/Symbol(react.provider)/CanvasComponentEntryInner/UtopiaSpiedExoticType(Symbol(react.fragment))",
"/UtopiaSpiedExoticType(Symbol(react.fragment))/div/UtopiaSpiedFunctionComponent(CanvasInner)/UtopiaSpiedFunctionComponent(DomWalkerWrapper)",
"/UtopiaSpiedExoticType(Symbol(react.fragment))/div/UtopiaSpiedFunctionComponent(CanvasInner)/UtopiaSpiedClass(RemoteDependencyBoundary)",
"/UtopiaSpiedExoticType(Symbol(react.fragment))/div/UtopiaSpiedFunctionComponent(CanvasInner)/UtopiaSpiedClass(CanvasErrorBoundary)",
"/UtopiaSpiedClass(CanvasErrorBoundary)/UtopiaSpiedClass(RemoteDependencyBoundary)/UtopiaSpiedFunctionComponent(DomWalkerWrapper)/Symbol(react.memo)()",
"/UtopiaSpiedClass(CanvasErrorBoundary)/UtopiaSpiedClass(RemoteDependencyBoundary)/UtopiaSpiedFunctionComponent(DomWalkerWrapper)/UtopiaSpiedFunctionComponent(Provider)",
"/UtopiaSpiedClass(RemoteDependencyBoundary)/UtopiaSpiedFunctionComponent(DomWalkerWrapper)/UtopiaSpiedFunctionComponent(Provider)/UtopiaSpiedExoticType(Symbol(react.fragment))",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('React Render Count Tests -', () => {

const renderCountAfter = renderResult.getNumberOfRenders()
// if this breaks, GREAT NEWS but update the test please :)
expect(renderCountAfter - renderCountBefore).toMatchInlineSnapshot(`791`)
expect(renderCountAfter - renderCountBefore).toMatchInlineSnapshot(`793`)
expect(renderResult.getRenderInfo()).toMatchSnapshot()
})

Expand Down Expand Up @@ -127,7 +127,7 @@ describe('React Render Count Tests -', () => {

const renderCountAfter = renderResult.getNumberOfRenders()
// if this breaks, GREAT NEWS but update the test please :)
expect(renderCountAfter - renderCountBefore).toMatchInlineSnapshot(`1139`)
expect(renderCountAfter - renderCountBefore).toMatchInlineSnapshot(`1141`)
expect(renderResult.getRenderInfo()).toMatchSnapshot()
})

Expand Down

0 comments on commit 0347bcb

Please sign in to comment.