You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should use the session management from node-lights to ensure no two computers are trying to control the lights at once.
Tasks
Update the api.* light functions to accept the token as a parameter
On run start, get a token* (const session = await api.sessionCreate()).
Store it somewhere, like /tmp/jest-lights/session.json. There is also a node_modules/.cache folder that we could take advantage of.
Set lights status during test
On run end, set the status light
Token could be retrieved either by file or by API call
Other things
Related to this node-trafficlights ticket, being that we shouldn't have to shut off the lights from jest, we should rely on the server to shut it off after an appropriate amount of time.
The text was updated successfully, but these errors were encountered:
We should use the session management from node-lights to ensure no two computers are trying to control the lights at once.
Tasks
const session = await api.sessionCreate()
)./tmp/jest-lights/session.json
. There is also anode_modules/.cache
folder that we could take advantage of.Other things
Related to this node-trafficlights ticket, being that we shouldn't have to shut off the lights from jest, we should rely on the server to shut it off after an appropriate amount of time.
The text was updated successfully, but these errors were encountered: