influxdata / influxdata/iot-api-js

The skill describes running the test suite “against a local InfluxDB 3 Core instance”, but the only test file (`__tests__/api.test.js`) mocks the InfluxDB client and can run without any database. Please either (a) adjust this skill to describe the mocked/unit test workflow, or (b) add a separate integration test target and clarify which tests require InfluxDB.

Open
#33 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12
Forks
5
Avg merge
2d 16h
Merged PRs (30d)
2

Description

The skill describes running the test suite “against a local InfluxDB 3 Core instance”, but the only test file (`__tests__/api.test.js`) mocks the InfluxDB client and can run without any database. Please either (a) adjust this skill to describe the mocked/unit test workflow, or (b) add a separate integration test target and clarify which tests require InfluxDB.

_Originally posted by @Copilot in https://github.com/influxdata/iot-api-js/pull/29#discussion_r2789216232_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the skill text and __tests__/api.test.js to compare the documented test command with the mocked test workflow. Done means the skill accurately describes the current unit tests, or clearly separates an integration target and identifies which tests require InfluxDB.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation, testing-qa
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.