updated and verified tests are still working
This commit is contained in:
parent
621bafbd61
commit
c077205215
|
@ -12,7 +12,7 @@ describe("GhostUserConfigSchema", () => {
|
||||||
disableDefault404: false,
|
disableDefault404: false,
|
||||||
enableRSSFeed: true,
|
enableRSSFeed: true,
|
||||||
enableOGImages: true,
|
enableOGImages: true,
|
||||||
fullConsoleLogs: false,
|
verbose: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
const result = GhostUserConfigSchema.safeParse(validConfig);
|
const result = GhostUserConfigSchema.safeParse(validConfig);
|
||||||
|
@ -32,13 +32,15 @@ describe("GhostUserConfigSchema", () => {
|
||||||
disableDefault404: "false",
|
disableDefault404: "false",
|
||||||
enableRSSFeed: "true",
|
enableRSSFeed: "true",
|
||||||
enableOGImages: "true",
|
enableOGImages: "true",
|
||||||
|
Integrations: {
|
||||||
sitemap: {
|
sitemap: {
|
||||||
// invalid sitemap configuration
|
// invalid sitemap configuration
|
||||||
},
|
},
|
||||||
robotstxt: {
|
robotstxt: {
|
||||||
// invalid robotstxt configuration
|
// invalid robotstxt configuration
|
||||||
},
|
},
|
||||||
fullConsoleLogs: "false",
|
},
|
||||||
|
verbose: "false",
|
||||||
};
|
};
|
||||||
|
|
||||||
const result = GhostUserConfigSchema.safeParse(invalidConfig);
|
const result = GhostUserConfigSchema.safeParse(invalidConfig);
|
||||||
|
|
Loading…
Reference in New Issue