This package has been deprecated

    Author message:

    This component is deprecated

    @advanced-rest-client/testing-karma-sl
    TypeScript icon, indicating that this package has built-in type declarations

    1.4.3 • Public • Published

    Testing via SauceLabs

    This runs your local test via SauceLabs browsers/devices. You need to have a SauceLabs account.

    Using:

    Setup

    Manual

    • npm i --save-dev @advanced-rest-client/testing-karma-sl
    • Copy karma.sl.config.js to karma.sl.config.js
    • Add these scripts to your package.json
      "scripts": {
        "test:sl": "karma start karma.sl.config.js --compatibility all --coverage"
      },

    Setup user + key

    The SAUCE_USERNAME variable is your login to SauceLabs and SAUCE_ACCESS_KEY is the key you just coppied.

    # for one time use only 
    export SAUCE_USERNAME=xxx
    export SAUCE_ACCESS_KEY=xxx
     
    # or add them to your .bashrc 
    echo "export SAUCE_USERNAME=xxx" >> ~/.bashrc
    echo "export SAUCE_ACCESS_KEY=xxx" >> ~/.bashrc
     
    # to verify, run: 
    echo "User: $SAUCE_USERNAME"
    echo "Key: $SAUCE_ACCESS_KEY"

    Usage

    npm run test:sl

    Install

    npm i @advanced-rest-client/testing-karma-sl

    DownloadsWeekly Downloads

    2

    Version

    1.4.3

    License

    Apache-2.0

    Unpacked Size

    6.76 kB

    Total Files

    7

    Last publish

    Collaborators

    • carowright
    • jarrodek
    • twoplustwoone
    • lbauret