UNPKG

rnsst

Version:

React Native Storybook Screeshot Tests with Detox

14 lines (13 loc) 473 B
import createChannel from '@storybook/channel-websocket'; import Server from './websockets'; import { StoryMap } from '../types'; export default class RnsstChannel { channel: ReturnType<typeof createChannel>; server: Server; notifyStorySet: null | ((value?: unknown) => void); constructor(port: number); stop: () => void; onStoryRendered: () => void; getStoryList: () => Promise<StoryMap>; setStory: (storyId: string) => Promise<unknown>; }