Repository navigation
Open
Description
CI Failure
PR: #589
SHA: 3781a74
Failed check: pnpm exec jest --runInBand --passWithNoTests
Error output
282 | }
283 |
> 284 | export class ProjectCreateModal extends Modal {
| ^
285 | constructor(app: App, private manager: ProjectFileManager, private onSave: () => void) { super(app); }
286 | onOpen() {
287 | this.setTitle(t("New project")); const folder = projectFolderPicker(this.contentEl, this.manager, ""); let name = "", description = "", color = "#5985b1";
at Object.<anonymous> (src/managers/project-file-manager.ts:284:41)
at Object.<anonymous> (src/utils/file/file-operations.ts:4:1)
at Object.<anonymous> (src/__tests__/dateTemplates.test.ts:1:1)
FAIL src/__tests__/TimelineSidebarView.test.ts
● Test suite failed to run
Cannot find module '../components/MarkdownRenderer' from 'src/__tests__/TimelineSidebarView.test.ts'
56 | }));
57 |
> 58 | jest.mock('../components/MarkdownRenderer', () => ({
| ^
59 | MarkdownRendererComponent: class MockMarkdownRendererComponent {},
60 | }));
61 |
at Resolver._throwModNotFoundError (node_modules/.pnpm/jest-resolve@29.7.0/node_modules/jest-resolve/build/resolver.js:427:11)
at Object.<anonymous> (src/__tests__/TimelineSidebarView.test.ts:58:6)
FAIL src/__tests__/QuickCaptureModal.integration.test.ts
● Test suite failed to run
Cannot find module '../components/AutoComplete' from 'src/__tests__/QuickCaptureModal.integration.test.ts'
119 | }));
120 |
> 121 | jest.mock("../components/AutoComplete", () => ({
| ^
122 | FileSuggest: jest.fn(),
123 | ContextSuggest: jest.fn(),
124 | ProjectSuggest: jest.fn(),
at Resolver._throwModNotFoundError (node_modules/.pnpm/jest-resolve@29.7.0/node_modules/jest-resolve/build/resolver.js:427:11)
at Object.<anonymous> (src/__tests__/QuickCaptureModal.integration.test.ts:121:6)
Test Suites: 42 failed, 88 passed, 130 total
Tests: 155 failed, 1404 passed, 1559 total
Snapshots: 0 total
Time: 18.961 s
Ran all test suites.
Analysis
42/130 suites and 155/1559 tests fail. Main causes: the obsidian jest mock lacks normalizePath and Modal; moment and vault mocks are incomplete (isValid, getFileByPath, onLayoutReady); TimelineSidebarView.test.ts and QuickCaptureModal.integration.test.ts mock ../components/MarkdownRenderer and ../components/AutoComplete, which no longer exist. Install, build (incl. tsc), habits and UI tests pass. Full report: #589 (comment)
Metadata
Metadata
Assignees
Labels
No labels
Activity
bitskc commentedon Nov 15, 2026
Still failing on SHA
295a743(2026-11-15): same 155 failed tests / 42 suites. Build, habits tests, and UI regression tests all pass. See #589 (comment)