MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / expectAlphaRanks

Function expectAlphaRanks

tests/unit/utils/sortOrderUtils.test.ts:34–36  ·  view source on GitHub ↗
(ranks: string[])

Source from the content-addressed store, hash-verified

32}
33
34function expectAlphaRanks(ranks: string[]): void {
35 expect(ranks.every((rank) => alphaRankPattern.test(rank))).toBe(true);
36}
37
38function createPlugin(frontmatterByPath: FrontmatterMap, sortOrderField = "tasknotes_manual_order") {
39 const processFrontMatter = jest.fn(async (file: TFile, updater: (frontmatter: any) => void) => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected