diff --git a/packages/feed/src/node/utils.ts b/packages/feed/src/node/utils.ts index 6c6eb509b..5ba2c42e9 100644 --- a/packages/feed/src/node/utils.ts +++ b/packages/feed/src/node/utils.ts @@ -63,4 +63,4 @@ export const getImageMineType = (ext = ""): string => : "" }`; -export const FEED_GENERATOR = "vuepress-plugin-feed2"; +export const FEED_GENERATOR = "vuepress-plugin-feed1"; diff --git a/packages/feed/__tests__/utils.spec.ts b/packages/shared/__tests__/unit/utils.spec.ts similarity index 88% rename from packages/feed/__tests__/utils.spec.ts rename to packages/shared/__tests__/unit/utils.spec.ts index 2bad38863..298242b5f 100644 --- a/packages/feed/__tests__/utils.spec.ts +++ b/packages/shared/__tests__/unit/utils.spec.ts @@ -1,5 +1,5 @@ import { describe, expect, it } from "vitest"; -import { encodeXML } from "../src/node/utils"; +import { encodeXML } from "../../src/node"; describe("Encode XML", () => { it("should encode", () => {