How to use @fluffy-spoon/substitute - 3 common examples

To help you get started, we’ve selected a few @fluffy-spoon/substitute examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github aws / amazon-chime-sdk-js / test / promisedwebsocketmock / PromisedWebSocketMock.ts View on Github external
close(_timeoutMs: number): Promise {
    return Promise.resolve(Substitute.for());
  }
github aws / amazon-chime-sdk-js / test / screensharestreamingmock / ScreenShareStreamingMock.ts View on Github external
start(_timeSliceMs?: number): ScreenSharingMessage {
    return Substitute.for();
  }
github aws / amazon-chime-sdk-js / test / promisedwebsocketmock / PromisedWebSocketMock.ts View on Github external
open(_timeoutMs: number): Promise {
    return Promise.resolve(Substitute.for());
  }

@fluffy-spoon/substitute

An NSubstitute port to TypeScript called substitute.js.

MIT
Latest version published 4 years ago

Package Health Score

53 / 100
Full package analysis

Popular @fluffy-spoon/substitute functions