prettier/tests/member/__snapshots__/jsfmt.spec.js.snap

53 lines
1.2 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`expand.js 1`] = `
const veryVeryVeryVeryVeryVeryVeryLong = doc.expandedStates[doc.expandedStates.length - 1];
const small = doc.expandedStates[doc.expandedStates.length - 1];
const promises = [
promise.resolve().then(console.log).catch(err => {
console.log(err)
return null
}),
redis.fetch(),
other.fetch(),
];
const promises = [
promise.resolve().veryLongFunctionCall().veryLongFunctionCall().then(console.log).catch(err => {
console.log(err)
return null
}),
redis.fetch(),
other.fetch(),
];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
const veryVeryVeryVeryVeryVeryVeryLong =
doc.expandedStates[doc.expandedStates.length - 1];
const small = doc.expandedStates[doc.expandedStates.length - 1];
const promises = [
promise.resolve().then(console.log).catch(err => {
console.log(err);
return null;
}),
redis.fetch(),
other.fetch()
];
const promises = [
promise
.resolve()
.veryLongFunctionCall()
.veryLongFunctionCall()
.then(console.log)
.catch(err => {
console.log(err);
return null;
}),
redis.fetch(),
other.fetch()
];
`;