1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
- exports[`comment.js 1`] = `
- function foo() {
- return {
- // this comment causes the problem
- bar: baz() + 1
- };
- }
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- function foo() {
- return {
- // this comment causes the problem
- bar: baz() + 1
- };
- }
- `;
- exports[`long-value.js 1`] = `
- const x = {
- "ABC": "12345678901234567890123456789012345678901234567890123456789012345678901234567890"
- };
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- const x = {
- ABC:
- "12345678901234567890123456789012345678901234567890123456789012345678901234567890"
- };
- `;
- exports[`test.js 1`] = `
- const a = classnames({
- "some-prop": this.state.longLongLongLongLongLongLongLongLongTooLongProp
- });
- const b = classnames({
- "some-prop": this.state.longLongLongLongLongLongLongLongLongTooLongProp === true
- });
- const c = classnames({
- "some-prop": [ "foo", "bar", "foo", "bar", "foo", "bar", "foo", "bar", "foo" ]
- });
- const d = classnames({
- "some-prop": () => {}
- });
- const e = classnames({
- "some-prop": function bar() {}
- });
- const f = classnames({
- "some-prop": { foo: "bar", bar: "foo", foo: "bar", bar: "foo", foo: "bar" }
- });
- const g = classnames({
- "some-prop": longLongLongLongLongLongLongLongLongLongLongLongLongTooLongVar || 1337
- });
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- const a = classnames({
- "some-prop": this.state.longLongLongLongLongLongLongLongLongTooLongProp
- });
- const b = classnames({
- "some-prop":
- this.state.longLongLongLongLongLongLongLongLongTooLongProp === true
- });
- const c = classnames({
- "some-prop": ["foo", "bar", "foo", "bar", "foo", "bar", "foo", "bar", "foo"]
- });
- const d = classnames({
- "some-prop": () => {}
- });
- const e = classnames({
- "some-prop": function bar() {}
- });
- const f = classnames({
- "some-prop": { foo: "bar", bar: "foo", foo: "bar", bar: "foo", foo: "bar" }
- });
- const g = classnames({
- "some-prop":
- longLongLongLongLongLongLongLongLongLongLongLongLongTooLongVar || 1337
- });
- `;
|