Justin Fowler
2024-02-02 8a6ebd193933c2879c2a36e1b2f164889575d3bc
quartz/util/path.test.ts
@@ -83,7 +83,7 @@
  test("simplifySlug", () => {
    asserts(
      [
        ["index", ""],
        ["index", "/"],
        ["abc", "abc"],
        ["abc/index", "abc/"],
        ["abc/def", "abc/def"],
@@ -105,6 +105,9 @@
        ["index.md", "index"],
        ["test.mp4", "test.mp4"],
        ["note with spaces.md", "note-with-spaces"],
        ["notes.with.dots.md", "notes.with.dots"],
        ["test/special chars?.md", "test/special-chars-q"],
        ["test/special chars #3.md", "test/special-chars-3"],
      ],
      path.slugifyFilePath,
      path.isFilePath,