hexlet-basics / hexlet-basics/exercises-html
Проблема с тестом в уроке 12 по HTML
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18
- Forks
- 111
- PR merge metrics
- No merged PRs in 30d
Description
При проверке правильный вариант считается неверным, так как тест считает, что ячеек больше, чем нужно. Но тест проходится, если я убираю или комментирую вторую ячейку второй строки (12 строка кода). Скорее всего, в тесте нужно изменить аргумент в функции expect(tds).to.have.length(2); на 3 (8 строка кода в тесте).
На скриншотах показано решение задачи, ошибка при таком решении и сравнение с решением учителя
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 with the lesson 12 HTML test and inspect the assertion on line 8, expect(tds).to.have.length(2). Compare it with the example solution, where the second row contains two cells. Update the expected count to match the valid exercise and rerun the lesson test to confirm it passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, javascript
- Domain
- testing, web-dev
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100