jxnblk / jxnblk/path-ast

Parser/stringifier tests

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
28
Forks
4
PR merge metrics
No merged PRs in 30d

Description

When parsing and stringifying, the module should check for valid path syntax.

Including:
- [ ] Begins with an M command
- [ ] Each command has the correct number of parameters
- [ ] Arc command large-arc-flag and sweep-flag should be 1 or 0
- [ ] String does not contain other characters

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the module's parser and stringifier entry points and read how SVG path commands are currently handled. Add coverage for the listed validity rules: an initial M command, correct parameter counts, binary arc flags, and rejection of other characters; done means the parser and stringifier tests cover each case.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.