Skip to content

Commit 00748e7

Browse files
author
Joe Goggins
committed
Bugfix [sc-105266] Move tests not designed to run in CI into their own dir
This makes it so that PARTICLE_API_TOKEN and PARTICLE_API_BASE_URL don't have to be specified for `npm run test:unit` to work
1 parent 876be72 commit 00748e7

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

test/EventStream-e2e-node.js renamed to e2e-tests/EventStream-e2e-node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ End-to-end test program for the event stream with Node
44
55
Steps:
66
- npm run compile
7-
- PARTICLE_API_TOKEN=<my-token> node test/EventStream-e2e-node.js
7+
- PARTICLE_API_TOKEN=<my-token> node e2e-tests/EventStream-e2e-node.js
88
- Follow the scenarios in EventStream.feature
99
1010
*/
File renamed without changes.

e2e-tests/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
The tests in this directory do not run in CI.
2+
3+
They can be used to do deep validations on the behavior of the library against the actual Particle API
4+
5+
Follow the directions at in each script for how to use them.
6+
7+
Also, you'll need set valid values for env vars like PARTICLE_API_BASE_URL
8+
and PARTICLE_API_TOKEN

0 commit comments

Comments
 (0)