Mirror: 🎩 A tiny but capable push & pull stream library for TypeScript and Flow
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Move tests to subfolder

+17 -17
+5 -5
src/operators.test.ts src/__tests__/operators.test.ts
··· 1 - import { Source, Sink, Operator, Signal, SignalKind, TalkbackKind, TalkbackFn } from './types'; 2 - import { push, start } from './helpers'; 1 + import { Source, Sink, Operator, Signal, SignalKind, TalkbackKind, TalkbackFn } from '../types'; 2 + import { push, start } from '../helpers'; 3 3 4 - import * as sources from './sources'; 5 - import * as sinks from './sinks'; 6 - import * as operators from './operators'; 4 + import * as sources from '../sources'; 5 + import * as sinks from '../sinks'; 6 + import * as operators from '../operators'; 7 7 8 8 /* This tests a noop operator for passive Pull talkback signals. 9 9 A Pull will be sent from the sink upwards and should pass through
+6 -6
src/sinks.test.ts src/__tests__/sinks.test.ts
··· 1 - import { Source, Sink, SignalKind, TalkbackKind } from './types'; 2 - import { push, start } from './helpers'; 1 + import { Source, Sink, SignalKind, TalkbackKind } from '../types'; 2 + import { push, start } from '../helpers'; 3 3 4 - import * as sinks from './sinks'; 5 - import * as sources from './sources'; 6 - import * as callbag from './callbag'; 7 - import * as observable from './observable'; 4 + import * as sinks from '../sinks'; 5 + import * as sources from '../sources'; 6 + import * as callbag from '../callbag'; 7 + import * as observable from '../observable'; 8 8 9 9 import Observable from 'zen-observable'; 10 10 import callbagIterate from 'callbag-iterate';
+6 -6
src/sources.test.ts src/__tests__/sources.test.ts
··· 1 - import { Source, Sink, Signal, SignalKind, TalkbackKind, TalkbackFn } from './types'; 2 - import { push, start, talkbackPlaceholder } from './helpers'; 1 + import { Source, Sink, Signal, SignalKind, TalkbackKind, TalkbackFn } from '../types'; 2 + import { push, start, talkbackPlaceholder } from '../helpers'; 3 3 4 - import * as sources from './sources'; 5 - import * as operators from './operators'; 6 - import * as callbag from './callbag'; 7 - import * as observable from './observable'; 4 + import * as sources from '../sources'; 5 + import * as operators from '../operators'; 6 + import * as callbag from '../callbag'; 7 + import * as observable from '../observable'; 8 8 9 9 import callbagFromArray from 'callbag-from-iter'; 10 10 import Observable from 'zen-observable';