44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`member-chain.js 1`] = `
|
|
const { somePropThatHasAReallyLongName, anotherPropThatHasALongName } = this.props.imReallySureAboutThis!;
|
|
|
|
const { somePropThatHasAReallyLongName, anotherPropThatHasALongName } = this.props.imReallySureAboutThis!.anotherObject;
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
const {
|
|
somePropThatHasAReallyLongName,
|
|
anotherPropThatHasALongName
|
|
} = this.props.imReallySureAboutThis!;
|
|
|
|
const {
|
|
somePropThatHasAReallyLongName,
|
|
anotherPropThatHasALongName
|
|
} = this.props.imReallySureAboutThis!.anotherObject;
|
|
|
|
`;
|
|
|
|
exports[`parens.ts 1`] = `
|
|
(a ? b : c) ![tokenKey];
|
|
(a || b) ![tokenKey];
|
|
|
|
async function f() {
|
|
return (await foo())!;
|
|
}
|
|
|
|
function* g() {
|
|
return (yield * foo())!;
|
|
}
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
(a ? b : c)![tokenKey];
|
|
(a || b)![tokenKey];
|
|
|
|
async function f() {
|
|
return (await foo())!;
|
|
}
|
|
|
|
function* g() {
|
|
return (yield* foo())!;
|
|
}
|
|
|
|
`;
|