Skip to content

Commit

Permalink
Fix snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
leowrites committed Oct 9, 2024
1 parent 64c23a5 commit 5176963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memory-viz/src/tests/__snapshots__/cli.spec.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ exports[`memory-viz cli produces consistent svg when provided filepath and a var
path {
stroke: rgb(0, 0, 0);
}
</style><g><path d="M50.03387502096594 24.981137046590447 L249.8663759674877 25.23432659842074 L249.97923236750066 154.9256116244942 L50.3987259592861 154.70078069902956" stroke="none" stroke-width="0" fill="yellow"/><path d="M49.80511280181001 24.848283371017935 C101.21462960343666 24.957142048644016, 152.4283732904477 25.27468179969294, 249.8333185797511 24.888723166230132 M50.04025084290156 25.084566500893157 C127.64847626362833 25.010388792416617, 205.73433892848544 25.26086524016505, 249.87030169296546 24.912154735801057 M249.72277866341173 24.848861547932028 C250.40739263938738 59.483614976145326, 249.8095053021796 94.24023997113109, 249.6624052260071 154.96266458891333 M250.1662653012201 25.192355196364225 C250.01118214936926 69.89683146812021, 249.9103734871931 114.68897119965405, 250.17893330883234 155.08975064624101 M250.15045523861684 155.19463287311416 C194.7703673179589 155.33646388878583, 139.31818679162086 155.01027628051926, 49.83021290746828 154.73049000131738 M249.89183244480645 154.93310165197937 C201.6892081104855 155.5109347502242, 153.60549481153024 155.28994757691015, 49.88017214083364 155.1023029807311 M50.028428158536556 155.25564071796833 C50.24258446125314 121.09422902893274, 50.4645724597387 86.7434340238571, 50.355024478212 24.78658777140081 M50.135622064583 154.81267948616295 C49.61699069669471 116.53043805956841, 49.86538132956252 78.29949534665792, 50.18846608232707 24.846260009892283" stroke="#000" stroke-width="4" fill="none"/></g><g><path d="M44.16937510482967 18.905685232952237 L255.33187983743846 20.171632992103696 L255.8961618375033 160.62805812247097 L45.99362979643047 159.50390349514782" stroke="none" stroke-width="0" fill="red"/><path d="M43.04722050014489 18.258276093946847 C98.72792319271825 18.81226224029811, 153.4515152491855 20.36467495903178, 255.1851150732587 18.45598127014297 M44.19678141163024 19.413435203408945 C125.64690594232708 19.100311479449005, 209.43214010978426 20.324859971231348, 255.36592095706587 18.57053532676623 M254.61389331705868 18.244307739660144 C258.0423227719031 56.304614026658236, 255.05288608586415 94.97427814751863, 254.31202613003552 160.8133229445666 M256.8313265061006 19.96177598182112 C256.07137157080695 67.92298510298133, 255.56732825992628 116.3225115230307, 256.89466654416174 161.44875323120505 M256.7355571239737 161.95153613589483 C197.8962872052512 162.68755860022557, 138.70456541990504 161.09286757305927, 43.16993182411847 159.68239882282856 M255.47118215000765 160.6729422190877 C204.24132620213217 163.60327584438917, 153.5928116551039 162.52289678193645, 43.41417636055329 161.50014666802102 M44.14214079268277 162.27820358984172 C45.30960880378261 124.07270445320755, 46.419548796210435 84.92028873637318, 45.775122391059995 17.932938857004046 M44.67811032291502 160.0633974308148 C41.97672923320904 118.29797793291509, 43.21868239754811 76.78905200343578, 44.94233041163534 18.231300049461424" stroke="rgb(0, 0, 0)" stroke-width="1" fill="none"/></g><text x="150" y="115" style="font-weight:bolder; font-size:22px; " class="value">"David is cool!"</text><g><path d="M50.03387502096594 24.981137046590447 L109.8663759674877 25.23432659842074 L109.97923236750066 74.9256116244942 L50.3987259592861 74.70078069902956" stroke="none" stroke-width="0" fill="red"/><path d="M49.78345241285861 24.83142109774053 C65.4576904721558 24.894601719416677, 80.91439656428993 25.247433857955038, 109.81479307152331 24.876355501636862 M50.044724450819196 25.09396549332887 C73.15462117288261 24.880231108143928, 96.79524127598852 25.15854631252587, 109.85588660668581 24.902391331084072 M109.72277866341173 24.848861547932028 C110.40024653943256 38.20590460542589, 109.80235920222476 51.68481922969222, 109.66240522600711 74.96266458891333 M110.16626530122012 25.192355196364225 C109.99056771742181 42.24940276928246, 109.88975905524568 59.39411380197853, 110.17893330883234 75.08975064624101 M110.16717731691897 75.21626499556005 C93.52425968647003 75.26082695763557, 76.8012368466705 74.89838581126183, 49.81134222485125 74.70053579472005 M109.87981035541743 74.92566635478288 C95.39040774870664 75.28829942256212, 81.03313233163207 75.04275102525949, 49.86685408782214 75.11367326248437 M50.028428158536556 75.25564071796835 C50.113669131230566 61.97636435311288, 50.335657129716125 48.50770467221737, 50.355024478212 24.78658777140081 M50.135622064583 74.81267948616296 C49.761289697047324 60.09670382887125, 50.009680329915135 45.432026885263625, 50.18846608232707 24.846260009892283" stroke="#000" stroke-width="4" fill="none"/></g><g><path d="M190.03387502096592 24.981137046590447 L249.8663759674877 25.23432659842074 L249.97923236750066 74.9256116244942 L190.39872595928608 74.70078069902956" stroke="none" stroke-width="0" fill="red"/><path d="M189.7834524128586 24.83142109774053 C205.4576904721558 24.894601719416677, 220.91439656428992 25.247433857955038, 249.8147930715233 24.876355501636862 M190.0447244508192 25.09396549332887 C213.15462117288263 24.880231108143928, 236.79524127598853 25.15854631252587, 249.85588660668583 24.902391331084072 M249.72277866341173 24.848861547932028 C250.40024653943254 38.20590460542589, 249.80235920222475 51.68481922969222, 249.6624052260071 74.96266458891333 M250.1662653012201 25.192355196364225 C249.9905677174218 42.24940276928246, 249.88975905524566 59.39411380197853, 250.17893330883234 75.08975064624101 M250.16717731691898 75.21626499556005 C233.52425968647003 75.26082695763557, 216.80123684667052 74.89838581126183, 189.81134222485124 74.70053579472005 M249.87981035541742 74.92566635478288 C235.39040774870665 75.28829942256212, 221.0331323316321 75.04275102525949, 189.86685408782213 75.11367326248437 M190.02842815853654 75.25564071796835 C190.11366913123055 61.97636435311288, 190.33565712971614 48.50770467221737, 190.355024478212 24.78658777140081 M190.135622064583 74.81267948616296 C189.76128969704732 60.09670382887125, 190.00968032991514 45.432026885263625, 190.18846608232707 24.846260009892283" stroke="#000" stroke-width="4" fill="none"/></g><text x="80" y="55" style="font-weight:bolder; font-size:22px; " class="id">id19</text><text x="220" y="55" style="font-weight:bolder; font-size:22px; " class="type">str</text></svg>"
</style><g><path d="M50.03387502096594 24.981137046590447 L249.8663759674877 25.23432659842074 L249.97923236750066 154.9256116244942 L50.3987259592861 154.70078069902956" stroke="none" stroke-width="0" fill="red"/><path d="M49.80511280181001 24.848283371017935 C101.21462960343666 24.957142048644016, 152.4283732904477 25.27468179969294, 249.8333185797511 24.888723166230132 M50.04025084290156 25.084566500893157 C127.64847626362833 25.010388792416617, 205.73433892848544 25.26086524016505, 249.87030169296546 24.912154735801057 M249.72277866341173 24.848861547932028 C250.40739263938738 59.483614976145326, 249.8095053021796 94.24023997113109, 249.6624052260071 154.96266458891333 M250.1662653012201 25.192355196364225 C250.01118214936926 69.89683146812021, 249.9103734871931 114.68897119965405, 250.17893330883234 155.08975064624101 M250.15045523861684 155.19463287311416 C194.7703673179589 155.33646388878583, 139.31818679162086 155.01027628051926, 49.83021290746828 154.73049000131738 M249.89183244480645 154.93310165197937 C201.6892081104855 155.5109347502242, 153.60549481153024 155.28994757691015, 49.88017214083364 155.1023029807311 M50.028428158536556 155.25564071796833 C50.24258446125314 121.09422902893274, 50.4645724597387 86.7434340238571, 50.355024478212 24.78658777140081 M50.135622064583 154.81267948616295 C49.61699069669471 116.53043805956841, 49.86538132956252 78.29949534665792, 50.18846608232707 24.846260009892283" stroke="#000" stroke-width="4" fill="none"/></g><g><path d="M44.16937510482967 18.905685232952237 L255.33187983743846 20.171632992103696 L255.8961618375033 160.62805812247097 L45.99362979643047 159.50390349514782" stroke="none" stroke-width="0" fill="red"/><path d="M43.04722050014489 18.258276093946847 C98.72792319271825 18.81226224029811, 153.4515152491855 20.36467495903178, 255.1851150732587 18.45598127014297 M44.19678141163024 19.413435203408945 C125.64690594232708 19.100311479449005, 209.43214010978426 20.324859971231348, 255.36592095706587 18.57053532676623 M254.61389331705868 18.244307739660144 C258.0423227719031 56.304614026658236, 255.05288608586415 94.97427814751863, 254.31202613003552 160.8133229445666 M256.8313265061006 19.96177598182112 C256.07137157080695 67.92298510298133, 255.56732825992628 116.3225115230307, 256.89466654416174 161.44875323120505 M256.7355571239737 161.95153613589483 C197.8962872052512 162.68755860022557, 138.70456541990504 161.09286757305927, 43.16993182411847 159.68239882282856 M255.47118215000765 160.6729422190877 C204.24132620213217 163.60327584438917, 153.5928116551039 162.52289678193645, 43.41417636055329 161.50014666802102 M44.14214079268277 162.27820358984172 C45.30960880378261 124.07270445320755, 46.419548796210435 84.92028873637318, 45.775122391059995 17.932938857004046 M44.67811032291502 160.0633974308148 C41.97672923320904 118.29797793291509, 43.21868239754811 76.78905200343578, 44.94233041163534 18.231300049461424" stroke="rgb(0, 0, 0)" stroke-width="1" fill="none"/></g><text x="150" y="115" style="font-weight:bolder; font-size:22px; " class="value">"David is cool!"</text><g><path d="M50.03387502096594 24.981137046590447 L109.8663759674877 25.23432659842074 L109.97923236750066 74.9256116244942 L50.3987259592861 74.70078069902956" stroke="none" stroke-width="0" fill="red"/><path d="M49.78345241285861 24.83142109774053 C65.4576904721558 24.894601719416677, 80.91439656428993 25.247433857955038, 109.81479307152331 24.876355501636862 M50.044724450819196 25.09396549332887 C73.15462117288261 24.880231108143928, 96.79524127598852 25.15854631252587, 109.85588660668581 24.902391331084072 M109.72277866341173 24.848861547932028 C110.40024653943256 38.20590460542589, 109.80235920222476 51.68481922969222, 109.66240522600711 74.96266458891333 M110.16626530122012 25.192355196364225 C109.99056771742181 42.24940276928246, 109.88975905524568 59.39411380197853, 110.17893330883234 75.08975064624101 M110.16717731691897 75.21626499556005 C93.52425968647003 75.26082695763557, 76.8012368466705 74.89838581126183, 49.81134222485125 74.70053579472005 M109.87981035541743 74.92566635478288 C95.39040774870664 75.28829942256212, 81.03313233163207 75.04275102525949, 49.86685408782214 75.11367326248437 M50.028428158536556 75.25564071796835 C50.113669131230566 61.97636435311288, 50.335657129716125 48.50770467221737, 50.355024478212 24.78658777140081 M50.135622064583 74.81267948616296 C49.761289697047324 60.09670382887125, 50.009680329915135 45.432026885263625, 50.18846608232707 24.846260009892283" stroke="#000" stroke-width="4" fill="none"/></g><g><path d="M190.03387502096592 24.981137046590447 L249.8663759674877 25.23432659842074 L249.97923236750066 74.9256116244942 L190.39872595928608 74.70078069902956" stroke="none" stroke-width="0" fill="red"/><path d="M189.7834524128586 24.83142109774053 C205.4576904721558 24.894601719416677, 220.91439656428992 25.247433857955038, 249.8147930715233 24.876355501636862 M190.0447244508192 25.09396549332887 C213.15462117288263 24.880231108143928, 236.79524127598853 25.15854631252587, 249.85588660668583 24.902391331084072 M249.72277866341173 24.848861547932028 C250.40024653943254 38.20590460542589, 249.80235920222475 51.68481922969222, 249.6624052260071 74.96266458891333 M250.1662653012201 25.192355196364225 C249.9905677174218 42.24940276928246, 249.88975905524566 59.39411380197853, 250.17893330883234 75.08975064624101 M250.16717731691898 75.21626499556005 C233.52425968647003 75.26082695763557, 216.80123684667052 74.89838581126183, 189.81134222485124 74.70053579472005 M249.87981035541742 74.92566635478288 C235.39040774870665 75.28829942256212, 221.0331323316321 75.04275102525949, 189.86685408782213 75.11367326248437 M190.02842815853654 75.25564071796835 C190.11366913123055 61.97636435311288, 190.33565712971614 48.50770467221737, 190.355024478212 24.78658777140081 M190.135622064583 74.81267948616296 C189.76128969704732 60.09670382887125, 190.00968032991514 45.432026885263625, 190.18846608232707 24.846260009892283" stroke="#000" stroke-width="4" fill="none"/></g><text x="80" y="55" style="font-weight:bolder; font-size:22px; " class="id">id19</text><text x="220" y="55" style="font-weight:bolder; font-size:22px; " class="type">str</text></svg>"
`;
exports[`memory-viz cli produces consistent svg when provided filepath and output option(s) 1`] = `
Expand Down

0 comments on commit 5176963

Please sign in to comment.