UNPKG

http-backend-proxy

Version:

A proxy that allows configuring the AngularJs e2e $httpBackend service from within protractor based tests and enables protractor-to-browser data sharing.

23 lines (20 loc) 649 B
language: node_js node_js: - 0.10 before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - npm start > /dev/null & - npm run update-webdriver - sleep 1 # give server time to start script: - node_modules/.bin/jasmine-node test/unit/ - node_modules/.bin/protractor test/protractor-conf.js --browser=firefox deploy: provider: npm email: kenneth@baltrinic.com api_key: secure: QslZhL1Mph1Nlgg7EioVyJ3Oyo+GSogC/KfE5FmE7+X2ORgCS6auHsfy3yCzKPj0tT8yFcXaxKZgEwWmfj5P5tSBq7OhIzhQfbmLHZJ/hR3SlgQxV+PJO92/F9h7RBVTMs/vBYepz+lNsnJO0BucYwkFvE/wAFnnb/aPAKf9tmg= on: tags: true repo: kbaltrinic/http-backend-proxy