1 parent
09370615a4
commit
25e214543e
4 files changed
+30
-1
No files matched your search
@@ -1,4 +1,4 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
||||
|
||||
exports[`arrow.js format 1`] = `
|
||||
====================================options=====================================
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
type Foo = {
|
||||
bar: // test
|
||||
| {loooooooooooooooooongPropName1: string}
|
||||
| {loooooooooooooooooongPropName2: string},
|
||||
};
|
||||
@@ -0,0 +1,23 @@
|
||||
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
||||
|
||||
exports[`11526.js format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["flow"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
=====================================input======================================
|
||||
type Foo = {
|
||||
bar: // test
|
||||
| {loooooooooooooooooongPropName1: string}
|
||||
| {loooooooooooooooooongPropName2: string},
|
||||
};
|
||||
|
||||
=====================================output=====================================
|
||||
type Foo = {
|
||||
bar: // test
|
||||
| { loooooooooooooooooongPropName1: string }
|
||||
| { loooooooooooooooooongPropName2: string },
|
||||
};
|
||||
|
||||
================================================================================
|
||||
`;
|
||||
@@ -0,0 +1 @@
|
||||
runFormatTest(import.meta, ["flow"]);
|
||||
Reference in new issue
Block a user