This section instructs starting InfluxDB 3 before `yarn test`, but `__tests__/api.test.js` mocks `../lib/influxdb` and doesn’t require a live database. Update guidance to reflect that unit tests run without InfluxDB, and optionally document a separate integration test workflow if needed.
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript, nodejs
- Domain
- documentation
Research direction
Locate the documentation section that precedes yarn test, then read __tests__/api.test.js to confirm the InfluxDB mock. Update the guidance so unit tests do not require a live InfluxDB instance; if an integration workflow is documented, keep it separate and clearly identify its requirements.
Written by the indexing model from the issue text.
Description
This section instructs starting InfluxDB 3 before yarn test, but __tests__/api.test.js mocks ../lib/influxdb and doesn’t require a live database. Update guidance to reflect that unit tests run without InfluxDB, and optionally document a separate integration test workflow if needed.
Originally posted by @Copilot in https://github.com/influxdata/iot-api-js/pull/29#discussion_r2789216087
- Dominant language
- JavaScript
- Stars
- 12
- Forks
- 5
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from influxdata/iot-api-js
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
influxdata/iot-api-js#34 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
influxdata/iot-api-js#31 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
influxdata/iot-api-js#30 ·
-
influxdata/iot-api-js#39 · 1 assignee ·
-
influxdata/iot-api-js#38 · 1 assignee ·
All issues in influxdata/iot-api-js
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·
-
client-controller-update ta-bot-triage team-money-movement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
MetaMask/metamask-mobile#36594 ·