Commit 141b5dd
committed
test(schemas): complete unresolved .resolves assertions in splitByTags test
Three `await expect(readFile(...)).resolves;` chains had no trailing
matcher, so the promise was awaited but no assertion ran. The file-
exists intent only surfaced via promise rejection. Added
`.toBeDefined()` to make the assertion explicit.
The broader readFile-vs-pathExists inconsistency is tracked in #3623.1 parent 560bbfa commit 141b5dd
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1450 | 1450 | | |
1451 | 1451 | | |
1452 | 1452 | | |
1453 | | - | |
1454 | | - | |
1455 | | - | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
1456 | 1456 | | |
1457 | 1457 | | |
1458 | 1458 | | |
| |||
0 commit comments