How to use the bloomrpc-mock.fromFileName function in bloomrpc-mock

To help you get started, we’ve selected a few bloomrpc-mock 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 uw-labs / bloomrpc / app / behaviour / importProtos.ts View on Github external
const protos = await Promise.all(filePaths.map((fileName) =>
      fromFileName(fileName, [
        ...(importPaths ? importPaths : []),
        ...commonProtosPath,
      ])
    ));

bloomrpc-mock

Automock your grpc services

LGPL-3.0
Latest version published 4 years ago

Package Health Score

45 / 100
Full package analysis