|
| 1 | +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html |
| 2 | + |
| 3 | +exports[`'long enough (1) - single line with no…' > expectation 1`] = ` |
| 4 | +"//---------------------------------------------------------| printWidth=60 (in snapshot) |
| 5 | +export function Foo({ children }) { |
| 6 | + return ( |
| 7 | + <div |
| 8 | + dir="ltr" |
| 9 | + id="lorem-ipsum" |
| 10 | + title="lorem ipsum" |
| 11 | + className="lorem ipsum dolor sit amet consectetur |
| 12 | + adipiscing elit proin ex massa hendrerit eu posuere |
| 13 | + eu volutpat id neque pellentesque" |
| 14 | + > |
| 15 | + {children} |
| 16 | + </div> |
| 17 | + ); |
| 18 | +} |
| 19 | +" |
| 20 | +`; |
| 21 | + |
| 22 | +exports[`'long enough (2) - single line with sp…' > expectation 1`] = ` |
| 23 | +"//---------------------------------------------------------| printWidth=60 (in snapshot) |
| 24 | +export function Foo({ children }) { |
| 25 | + return ( |
| 26 | + <div |
| 27 | + dir="ltr" |
| 28 | + id="lorem-ipsum" |
| 29 | + title="lorem ipsum" |
| 30 | + className="lorem ipsum dolor sit amet consectetur |
| 31 | + adipiscing elit proin ex massa hendrerit eu posuere |
| 32 | + eu volutpat id neque pellentesque" |
| 33 | + > |
| 34 | + {children} |
| 35 | + </div> |
| 36 | + ); |
| 37 | +} |
| 38 | +" |
| 39 | +`; |
| 40 | + |
| 41 | +exports[`'long enough (3) - multiple lines' > expectation 1`] = ` |
| 42 | +"//---------------------------------------------------------| printWidth=60 (in snapshot) |
| 43 | +export function Foo({ children }) { |
| 44 | + return ( |
| 45 | + <div |
| 46 | + dir="ltr" |
| 47 | + id="lorem-ipsum" |
| 48 | + title="lorem ipsum" |
| 49 | + className="lorem ipsum dolor sit amet consectetur |
| 50 | + adipiscing elit proin ex massa hendrerit eu posuere |
| 51 | + eu volutpat id neque pellentesque" |
| 52 | + > |
| 53 | + {children} |
| 54 | + </div> |
| 55 | + ); |
| 56 | +} |
| 57 | +" |
| 58 | +`; |
| 59 | + |
| 60 | +exports[`'near boundary (1) - single line with …' > expectation 1`] = ` |
| 61 | +"//---------------------------------------------------------| printWidth=60 (in snapshot) |
| 62 | +export function Foo({ children }) { |
| 63 | + return ( |
| 64 | + <div |
| 65 | + dir="ltr" |
| 66 | + id="lorem-ipsum" |
| 67 | + title="lorem ipsum" |
| 68 | + className="lorem ipsum dolor sit amet consectetur |
| 69 | + adipiscing elit proin" |
| 70 | + > |
| 71 | + {children} |
| 72 | + </div> |
| 73 | + ); |
| 74 | +} |
| 75 | +" |
| 76 | +`; |
| 77 | + |
| 78 | +exports[`'near boundary (2) - single line with …' > expectation 1`] = ` |
| 79 | +"//---------------------------------------------------------| printWidth=60 (in snapshot) |
| 80 | +export function Foo({ children }) { |
| 81 | + return ( |
| 82 | + <div |
| 83 | + dir="ltr" |
| 84 | + id="lorem-ipsum" |
| 85 | + title="lorem ipsum" |
| 86 | + className="lorem ipsum dolor sit amet consectetur |
| 87 | + adipiscing elit proin" |
| 88 | + > |
| 89 | + {children} |
| 90 | + </div> |
| 91 | + ); |
| 92 | +} |
| 93 | +" |
| 94 | +`; |
| 95 | + |
| 96 | +exports[`'near boundary (3) - multiple lines' > expectation 1`] = ` |
| 97 | +"//---------------------------------------------------------| printWidth=60 (in snapshot) |
| 98 | +export function Foo({ children }) { |
| 99 | + return ( |
| 100 | + <div |
| 101 | + dir="ltr" |
| 102 | + id="lorem-ipsum" |
| 103 | + title="lorem ipsum" |
| 104 | + className="lorem ipsum dolor sit amet consectetur |
| 105 | + adipiscing elit proin" |
| 106 | + > |
| 107 | + {children} |
| 108 | + </div> |
| 109 | + ); |
| 110 | +} |
| 111 | +" |
| 112 | +`; |
| 113 | + |
| 114 | +exports[`'short enough (1) - single line with n…' > expectation 1`] = ` |
| 115 | +"//---------------------------------------------------------| printWidth=60 (in snapshot) |
| 116 | +export function Foo({ children }) { |
| 117 | + return ( |
| 118 | + <div |
| 119 | + dir="ltr" |
| 120 | + id="lorem-ipsum" |
| 121 | + title="lorem ipsum" |
| 122 | + className="lorem ipsum dolor sit amet" |
| 123 | + > |
| 124 | + {children} |
| 125 | + </div> |
| 126 | + ); |
| 127 | +} |
| 128 | +" |
| 129 | +`; |
| 130 | + |
| 131 | +exports[`'short enough (2) - single line with s…' > expectation 1`] = ` |
| 132 | +"//---------------------------------------------------------| printWidth=60 (in snapshot) |
| 133 | +export function Foo({ children }) { |
| 134 | + return ( |
| 135 | + <div |
| 136 | + dir="ltr" |
| 137 | + id="lorem-ipsum" |
| 138 | + title="lorem ipsum" |
| 139 | + className="lorem ipsum dolor sit amet" |
| 140 | + > |
| 141 | + {children} |
| 142 | + </div> |
| 143 | + ); |
| 144 | +} |
| 145 | +" |
| 146 | +`; |
| 147 | + |
| 148 | +exports[`'short enough (3) - multiple lines' > expectation 1`] = ` |
| 149 | +"//---------------------------------------------------------| printWidth=60 (in snapshot) |
| 150 | +export function Foo({ children }) { |
| 151 | + return ( |
| 152 | + <div |
| 153 | + dir="ltr" |
| 154 | + id="lorem-ipsum" |
| 155 | + title="lorem ipsum" |
| 156 | + className="lorem ipsum dolor sit amet" |
| 157 | + > |
| 158 | + {children} |
| 159 | + </div> |
| 160 | + ); |
| 161 | +} |
| 162 | +" |
| 163 | +`; |
| 164 | + |
| 165 | +exports[`'syntax variants - component' > expectation 1`] = ` |
| 166 | +"//---------------------------------------------------------| printWidth=60 (in snapshot) |
| 167 | +export function Foo({ children }) { |
| 168 | + return ( |
| 169 | + <Box |
| 170 | + dir="ltr" |
| 171 | + id="lorem-ipsum" |
| 172 | + title="lorem ipsum" |
| 173 | + className="lorem ipsum dolor sit amet consectetur |
| 174 | + adipiscing elit proin ex massa hendrerit eu posuere" |
| 175 | + > |
| 176 | + {children} |
| 177 | + </Box> |
| 178 | + ); |
| 179 | +} |
| 180 | +" |
| 181 | +`; |
0 commit comments