@applitools/sdk-fake-eyes-server

2.1.3 • Public • Published

@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.

Readme

Keywords

none

Package Sidebar

Install

npm i @applitools/sdk-fake-eyes-server

Weekly Downloads

229

Version

2.1.3

License

SEE LICENSE IN LICENSE

Unpacked Size

34.1 kB

Total Files

10

Last publish

Collaborators

  • roeefr
  • livgerti
  • shiran.sidis
  • mmilapp
  • anandbagmar
  • dockermaster
  • mkowalew3382
  • itaiz134
  • anastasia.koifman
  • eirenik0
  • sergovapplitools
  • fatihsolhan-applitools
  • grayscale64
  • itaibh-applitools
  • bongo123
  • aretm_borodavka
  • netaavivi
  • applitoolsmustafa
  • zamboney
  • benbaba
  • amit.rokach
  • eladheller
  • adamcarmi
  • amir.groisman
  • noamshv
  • noam.gaash
  • giladgd
  • ran-itzhaki
  • noam.mendel
  • gearm
  • benny.halberstadt
  • gofilord
  • alex.burdeynyy
  • david.haeffner
  • chaimaharonson
  • roy.sela
  • ronikar_applitools
  • danielputerman
  • amitzur
  • ramapplitools
  • applitools-admin
  • applitools-readonly
  • iasisapp
  • yotammadem
  • liranbarokas
  • itayy.applitools
  • denis.styrt
  • kyrylo.onufriiev
  • amitzur-applitools
  • yardenw.applitools
  • ormeda
  • vgprod
  • clementbarry