2.1.3 • Published 3 years ago

@applitools/sdk-fake-eyes-server v2.1.3

Weekly downloads
290
License
SEE LICENSE IN LI...
Repository
github
Last release
3 years ago

@applitools/sdk-fake-eyes-server

Fake Eyes server for testing purposes

Usage

  1. From Node.js code:
const {startFakeEyesServer} = require('@applitools/sdk-fake-eyes-server')

const {port, close} = await startFakeEyesServer();
  1. Standalone:

use the PORT environment variable to control the port

npm i @applitools/sdk-fake-eyes-server
PORT=3000 npx fake-eyes-server

Configuration

  • expectedFolder: A folder that has files of images with the proper naming to act as baselines for image comparison.
  • updateFixtures: set this to true in order to save the uploaded images to files.
  • port: The port to run the server. Passing 0 or not passing will run the server on a random free port.
  • logger: An object of the shape {log, verbose}, e.g. console.
  • hangUp: When true, the server will always hang up the underlying socket and will result with a "socket hang up" network error on the client side.
2.1.3

3 years ago

2.1.2

3 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.5

5 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago