file-sharing-testkit-js
TypeScript icon, indicating that this package has built-in type declarations

1.0.25 • Public • Published

About

Provides in memory implementation of File Sharing Server. Under the hood uses Express.

Usage

import {FileSharingServerExpressTestkit} from 'file-sharing-testkit-js';

const options = {
  port: 9001
};
const testkit = new FileSharingServerExpressTestkit();

await testkit.start();
testkit.getRootUrl(); // Returns http://localhost:9001 for default port
await testkit.stop();

Test Domain

Testkit provides some helpers to build request objects for simple use cases

import {anAppSettings} from 'file-sharing-testkit-js';

anAppSettings(); // Returns object of type wix.filesharing.api.v1.AppSettings

/file-sharing-testkit-js/

    Package Sidebar

    Install

    npm i file-sharing-testkit-js

    Weekly Downloads

    21

    Version

    1.0.25

    License

    MIT

    Unpacked Size

    24 kB

    Total Files

    22

    Last publish

    Collaborators

    • arielh
    • falconci
    • yurynix
    • itai.benda
    • wix-ci
    • wix-ambassador
    • shahata
    • netanelgilad
    • wix-ci-publisher
    • wix-bi-publisher