File tree Expand file tree Collapse file tree 4 files changed +30
-1
lines changed Expand file tree Collapse file tree 4 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
2
3
3
exports [` arrow.js format 1` ] = `
4
4
====================================options=====================================
Original file line number Diff line number Diff line change
1
+ type Foo = {
2
+ bar : // test
3
+ | { loooooooooooooooooongPropName1 : string }
4
+ | { loooooooooooooooooongPropName2 : string } ,
5
+ } ;
Original file line number Diff line number Diff line change
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
+
3
+ exports [` 11526.js format 1` ] = `
4
+ ====================================options=====================================
5
+ parsers: ["flow"]
6
+ printWidth: 80
7
+ | printWidth
8
+ =====================================input======================================
9
+ type Foo = {
10
+ bar : // test
11
+ | {loooooooooooooooooongPropName1: string }
12
+ | {loooooooooooooooooongPropName2: string },
13
+ } ;
14
+
15
+ =====================================output=====================================
16
+ type Foo = {
17
+ bar : // test
18
+ | { loooooooooooooooooongPropName1: string }
19
+ | { loooooooooooooooooongPropName2: string },
20
+ } ;
21
+
22
+ ================================================================================
23
+ ` ;
Original file line number Diff line number Diff line change
1
+ runFormatTest ( import . meta, [ "flow" ] ) ;
You can’t perform that action at this time.
0 commit comments