deep-foundation / deep-foundation/russian-laws

Not all tests are passing

Open
#26 0 comments 0 reactions 1 assignee Claimed by @FreePhoenix888 View on GitHub
bug
Dominant language
HTML
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

# Success

- 102024315.html
- 434767.html
- 102033239.html
- 102041891.html
- 102045146.html
- 102073578.html
- 102073942.html
- 102110716.html
- 102380990.html
- 102046246.html
- 102059464.html
- 102110364.html
- 102069974.html
- 102107048.html
- 605577371.html
- 102090645.html
- 102079219.html
- 102078828.html
- 102038925.html
- 102074279.html
- 102090643.html
- 102073184.html
- 102067058.html
- 102054722.html
- 102054721.html
- 102027595.html
- 102039276.html

# Fail

## 102038209.html

### Error

```
gitpod /workspace/russian-laws (main) $ bun test
bun test v1.0.29 (a146856d)

__tests__/import-and-export.test.ts:
HTML_FILE_NAMES environment variable is passed. Testing 102038209.html
Error during import and export test: 16 | log({ documentLink });
17 | const indexLinks = documentLink.outByType[indexTypeLinkId]?.sort((a,b) => a.value.value - b.value.value);
18 | log({indexLinks})
19 | const sectionLinks = indexLinks?.map((link) => link.to);
20 | log({ sections: sectionLinks });
21 | sectionLinks.forEach((sectionLink) => {
^
TypeError: undefined is not an object (evaluating 'sectionLinks.forEach')
at /workspace/russian-laws/links-to-html.ts:21:3
```

### Reason

There is no paragraphs, only spans
![image](https://github.com/deep-foundation/russian-laws/assets/66206278/f43c73d4-f4e5-4fe2-9009-65cee5bb53f7)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.