kentcdodds / kentcdodds/react-testing-library-course

test-data-bot seems to be outdated

Open
#29 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.1k
Forks
372
PR merge metrics
No merged PRs in 30d

Description

https://github.com/kentcdodds/react-testing-library-course/blob/88bbc8bc2465a436c8197717dfd673211bc36e90/src/__tests__/tdd-06-generate-data.js#L3

There is already newer version of `test-data-bot` https://www.npmjs.com/package/@jackfranklin/test-data-bot.

Looks like there not so much breaking changes was introduced, and it's even written in TypeScript!

Contributor guide

Open the contributing guide

Research direction

Start at src/__tests__/tdd-06-generate-data.js#L3 and compare its test-data-bot usage with the newer @jackfranklin/test-data-bot package. Update the outdated dependency usage there, then run the course's existing tests to confirm the data-generation exercise still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing-qa
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.