matthewmueller / matthewmueller/component-test
Bring your own mocha.html
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 97
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Suppose you have some html fixtures or custom css that you need during your tests.
Like here: https://github.com/Swatinem/scrollbars/blob/master/test/index.html
Would be cool if you could bring your own mocha.html or whatever that should be called.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the component-test browser runner and the referenced test/index.html fixture to understand how mocha.html is selected and loaded. Determine how a caller could supply custom HTML and CSS fixtures, then verify the behavior with a component test using a custom mocha.html.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100