code-chronicles-code / code-chronicles-code/leetcode-curriculum
Add test that asserts JavaScript goody and TypeScript goody code is prettified
- 主要語言
- TypeScript
- 星號
- 20
- 分支
- 12
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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!
貢獻指南
研究方向
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.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, typescript
- 領域
- testing-qa
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100