123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
- exports[`bind_parens.js 1`] = `
- (a || b)::c;
- a || (b::c);
- ::obj.prop;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- (a || b)::c;
- a || b::c;
- ::obj.prop;
- `;
- exports[`bind_parens.js 2`] = `
- (a || b)::c;
- a || (b::c);
- ::obj.prop;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ;(a || b)::c
- a || b::c
- ;::obj.prop
- `;
- exports[`long_name_method.js 1`] = `
- class X {
- constructor() {
- this.testLongNameMethodAndSomethingElseLallala = ::this.testLongNameMethodAndSomethingElseLallala;
- }
-
- testLongNameMethodAndSomethingElseLallala() {
- return true;
- }
- }~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- class X {
- constructor() {
- this.testLongNameMethodAndSomethingElseLallala =
- ::this.testLongNameMethodAndSomethingElseLallala;
- }
- testLongNameMethodAndSomethingElseLallala() {
- return true;
- }
- }
- `;
- exports[`long_name_method.js 2`] = `
- class X {
- constructor() {
- this.testLongNameMethodAndSomethingElseLallala = ::this.testLongNameMethodAndSomethingElseLallala;
- }
-
- testLongNameMethodAndSomethingElseLallala() {
- return true;
- }
- }~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- class X {
- constructor() {
- this.testLongNameMethodAndSomethingElseLallala =
- ::this.testLongNameMethodAndSomethingElseLallala
- }
- testLongNameMethodAndSomethingElseLallala() {
- return true
- }
- }
- `;
- exports[`method_chain.js 1`] = `
- import {interval} from 'rxjs/observable/interval';
- import {filter} from 'rxjs/operator/filter';
- import {take} from 'rxjs/operator/take';
- import {map} from 'rxjs/operator/map';
- import {throttle} from 'rxjs/operator/throttle';
- import {takeUntil} from 'rxjs/operator/takeUntil';
- function test(observable) {
- return observable
- ::filter(data => data.someTest)
- ::throttle(() =>
- interval(10)
- ::take(1)
- ::takeUntil(observable::filter(data => someOtherTest))
- )
- ::map(someFunction);
- }
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- import { interval } from "rxjs/observable/interval";
- import { filter } from "rxjs/operator/filter";
- import { take } from "rxjs/operator/take";
- import { map } from "rxjs/operator/map";
- import { throttle } from "rxjs/operator/throttle";
- import { takeUntil } from "rxjs/operator/takeUntil";
- function test(observable) {
- return observable
- ::filter(data => data.someTest)
- ::throttle(() =>
- interval(10)
- ::take(1)
- ::takeUntil(observable::filter(data => someOtherTest))
- )
- ::map(someFunction);
- }
- `;
- exports[`method_chain.js 2`] = `
- import {interval} from 'rxjs/observable/interval';
- import {filter} from 'rxjs/operator/filter';
- import {take} from 'rxjs/operator/take';
- import {map} from 'rxjs/operator/map';
- import {throttle} from 'rxjs/operator/throttle';
- import {takeUntil} from 'rxjs/operator/takeUntil';
- function test(observable) {
- return observable
- ::filter(data => data.someTest)
- ::throttle(() =>
- interval(10)
- ::take(1)
- ::takeUntil(observable::filter(data => someOtherTest))
- )
- ::map(someFunction);
- }
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- import { interval } from "rxjs/observable/interval"
- import { filter } from "rxjs/operator/filter"
- import { take } from "rxjs/operator/take"
- import { map } from "rxjs/operator/map"
- import { throttle } from "rxjs/operator/throttle"
- import { takeUntil } from "rxjs/operator/takeUntil"
- function test(observable) {
- return observable
- ::filter(data => data.someTest)
- ::throttle(() =>
- interval(10)
- ::take(1)
- ::takeUntil(observable::filter(data => someOtherTest))
- )
- ::map(someFunction)
- }
- `;
- exports[`short_name_method.js 1`] = `
- class X {
- constructor() {
- this.shortMethod = ::this.shortMethod;
- }
-
- shortMethod() {
- return true;
- }
- }~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- class X {
- constructor() {
- this.shortMethod = ::this.shortMethod;
- }
- shortMethod() {
- return true;
- }
- }
- `;
- exports[`short_name_method.js 2`] = `
- class X {
- constructor() {
- this.shortMethod = ::this.shortMethod;
- }
-
- shortMethod() {
- return true;
- }
- }~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- class X {
- constructor() {
- this.shortMethod = ::this.shortMethod
- }
- shortMethod() {
- return true
- }
- }
- `;
|