Skip to content

Commit

Permalink
Update docs to reflect not needing to set env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Goggins committed Jun 24, 2022
1 parent 00748e7 commit f9ace39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ All essential commands are available at the root via `npm run <script name>` - e
<summary><b>How to run your tests</b></summary>
<p>

The `Agent` integration tests ([source](./test/Agent.integration.js)) depend on a real HTTP api backend and a valid Particle access token. Be sure to set relevant environment variables to avoid test failures. You can prefix commands test commands like this `PARTICLE_API_BASE_URL=<url> PARTICLE_API_TOKEN=<token> npm test`

`npm test` runs the tests.

`npm run coverage` shows code coverage
Expand Down
4 changes: 3 additions & 1 deletion e2e-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ They can be used to do deep validations on the behavior of the library against t
Follow the directions at in each script for how to use them.

Also, you'll need set valid values for env vars like PARTICLE_API_BASE_URL
and PARTICLE_API_TOKEN
and PARTICLE_API_TOKEN.

Note also that these e2e-tests are not actively maintained.

0 comments on commit f9ace39

Please sign in to comment.