Closed jeparlefrancais closed 10 months ago
Coverage after merging fix-bundle-module-loading into main will be
87.07% |
---|
File | Stmts | Branches | Funcs | Lines | Uncovered Lines |
---|---|---|---|---|---|
src/nodes/expressions | |||||
table.rs | 89.28% | 100% | 85.71% | 90.20% | 115–119, 192–195, 218–222, 253–254, 365–367, 46–48 |
src/nodes/statements | |||||
if_statement.rs | 76.03% | 100% | 74.58% | 76.39% | 116–119, 158–165, 226–231, 233–235, 237–238, 251–253, 261–264, 27–30, 317–323, 49–55 |
src/nodes/types | |||||
type_field.rs | 61.97% | 100% | 66.67% | 60.71% | 33–35, 52–57, 59–64, 73–78 |
src/rules/bundle/path_require_mode | |||||
mod.rs | 84.89% | 100% | 89.47% | 84.56% | 100–102, 119–121, 125–127, 129, 179, 205–207, 222–224, 234–236, 258, 294–297, 325–326, 332–338, 348–349, 35, 358–360 |
module_definitions.rs | 80.31% | 100% | 76% | 80.85% | 105–109, 114, 133, 17, 273–274, 292–293, 313, 317, 329, 333–337, 339, 342–344, 346, 349–366, 369–371, 373, 416–418, 47–50, 53–56, 72, 78–79 |
Closes #143
To fix the issue, the bundler will generate functions to load each modules, instead of generating simple do blocks.