UNPKG

615 BYAMLView Raw
1machine:
2 node:
3 version: 6.3.1
4 hosts:
5 # Every test should be fully mocked, or fail.
6 # This remove network conenctivity to the domains used for communicating with the API
7 # Also note that the test environment doesn't have a valid API key in environment
8 ddragon.leagueoflegends.com: 127.0.0.1
9 euw.api.riotgames.com: 127.0.0.1
10 na.api.riotgames.com: 127.0.0.1
11test:
12 pre:
13 - npm run-script lint
14 - npm run-script style
15 override:
16 - npm test:
17 environment:
18 MOCHA_FILE: $CIRCLE_TEST_REPORTS/junit/test-results.xml
19 MOCHA_REPORTER: mocha-junit-reporter