The cycle task status command now turns a non-task line into `- [ ]` (or inserts `[ ]` after an existing list marker), so users can run the shortcut on plain text without first creating a task. Adds a bun test preload that mocks the obsidian runtime so taskActions can be unit-tested directly.
9 lines
207 B
TypeScript
9 lines
207 B
TypeScript
import {mock} from "bun:test";
|
|
|
|
void mock.module("obsidian", () => ({
|
|
AbstractInputSuggest: class {},
|
|
PluginSettingTab: class {},
|
|
Setting: class {},
|
|
setIcon: () => undefined,
|
|
getIconIds: () => [],
|
|
}));
|