1.0.25 • Published 3 years ago

file-sharing-testkit-js v1.0.25

Weekly downloads
19
License
MIT
Repository
-
Last release
3 years ago

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
0.0.0

3 years ago

1.0.25

6 years ago

1.0.24

6 years ago

1.0.23

6 years ago

1.0.22

6 years ago

1.0.21

6 years ago

1.0.20

6 years ago

1.0.19

6 years ago

1.0.18

6 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago