c3js / c3js/c3

Document c3 integration with existing unit tests.

Open
#921 5 comments 0 reactions 0 assignees View on GitHub
R-needs-docs
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

I am using C3 in a project that uses mocha and jsdom for unit testing. An issue I am getting is when a test runs through c3 code. At the moment, the main issue is `MutationObserver` is not supported. It would nice if you could document a suggestive approach of using c3 with existing unit tests.

My workaround at the moment is to stub out the `generate` function and return an empty div.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.