mapbox / mapbox/mapbox-gl-draw

Upgrade to newer JSDom

Open
#1,120 0 comments 0 reactions 1 assignee View on GitHub

@mourner is already working on this.

Since Aug 31, 2022.

build
Dominant language
JavaScript
Stars
1.1k
Forks
612
Avg merge
8d 9h
Merged PRs (30d)
5

Description

Current we depend on an old `mock-browser` package for mocking window/document and HTML elements in Node for unit tests, and that package depends on an old JSDom version (v9). We should upgrade directly to the latest JSDom dependency (v20) and use it to avoid depending on an old package, however, upgrading to the latest version breaks 14 tests for no clear reason. Capturing in ticket to investigate later.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.