code-chronicles-code / code-chronicles-code/leetcode-curriculum

Add test that asserts JavaScript goody and TypeScript goody code is prettified

Open
#150 0 comments 0 reactions 0 assignees View on GitHub
tests typescript
Dominant language
TypeScript
Stars
20
Forks
12
PR merge metrics
No merged PRs in 30d

Description

After #149, we won't be running Prettier on the resulting code in the browser. This should save some extra work but it means there's no guarantee that the code is optimally pretty. As part of the snapshot tests that try to render or equip individual goodies, let's additionally assert that the JS or TS code would be unchanged if run through Prettier!

Contributor guide

Open the contributing guide

Research direction

Locate the snapshot tests that render or equip individual goodies, then inspect how JavaScript and TypeScript outputs are produced after #149. Run the existing snapshot test suite first. Done means the tests assert that each JS or TS result is unchanged when formatted with Prettier.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.