-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ab07ba0
commit 712b362
Showing
5 changed files
with
35 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { cleanBasePath } from "./docs-loader"; | ||
|
||
vi.mock("server-only", () => ({})); | ||
|
||
describe("basePath", () => { | ||
it("should clean basepath", () => { | ||
expect(cleanBasePath(undefined)).toBe(""); | ||
expect(cleanBasePath("")).toBe(""); | ||
expect(cleanBasePath("/")).toBe(""); | ||
expect(cleanBasePath("/foo")).toBe("/foo"); | ||
expect(cleanBasePath("/foo/")).toBe("/foo"); | ||
expect(cleanBasePath("/foo/bar")).toBe("/foo/bar"); | ||
expect(cleanBasePath("/foo/bar/")).toBe("/foo/bar"); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
712b362
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
canary.ferndocs.com – ./packages/fern-docs/bundle
docs.reka.ai
docs.airtop.ai
docs.vapi.ai
*.ferndocs.app
docs.qlty.sh
docs.vellum.ai
plantstore.dev
docs.credal.ai
docs.bytebot.ai
docs.cable.tech
docs.mercoa.com
docs.multion.ai
docs.ntropy.com
docs.nominal.io
docs.revert.dev
docs.termina.ai
help.getzep.com
docs.airweave.ai
api.labelstud.io
www.upshift.dev
docs.argolabs.ai
docs.cartesia.ai
docs.coperniq.io
docs.coactive.ai
docs.eyelevel.ai
docs.getkard.com
docs.jambonz.org
docs.paradigm.co
docs.payos.money
docs.propexo.com
docs.scoutos.com
docs.trykeet.com
docs.upshift.dev
legal.fanvue.com
developers.ada.cx
docs.agentmail.to
docs.anterior.com
docs.benchify.com
docs.darwinbio.io
docs.getanalog.ai
docs.hellodata.ai
docs.mavenagi.com
docs.syndicate.io
docs.taxcloud.com
fern.ssoready.com
prod.ferndocs.com
docs.dataglade.com
docs.flagright.com
docs.fluidstack.io
docs.paradex.trade
docs.sphinxbio.com
docs.superagent.sh
docs.usebridge.com
docs.withchima.com
r2r-docs.sciphi.ai
www.katiedanny.com
api.navipartner.com
canary.ferndocs.com
docs.brightmove.com
developers.duve.com
docs.data.aviato.co
docs.openledger.com
docs.privategpt.dev
docs.scrapybara.com
docs.withabound.com
developers.awork.com
docs.athenaintel.com
docs.getscorecard.ai
docs.givechariot.com
docs.trypinnacle.app
docs.schematichq.com
tc.docs.syndicate.io
apidocs.polytomic.com
docs-next.scoutos.com
developer.ideogram.ai
docs.axiomatic-ai.com
docs.pier-finance.com
docs.wellesley.social
developers.gappify.com
developers.beehiiv.com
docs.stage.paradigm.co
reference.flatfile.com
developers.upwardli.com
docs.impiloplatform.com
docs.aiaplatform.com.au
secure.docs.propexo.com
developer.yocobeta.co.za
docs.predictionguard.com
gusto.docs.withchima.com
documentation.sayari.com
column.docs.withchima.com
docs.conductorquantum.com
docs.joincandidhealth.com
docs.staging.paradex.trade
rippling.docs.withchima.com
angellist.docs.withchima.com
dev.documentation.sayari.com
developer.projectmanager.com
upshift.dev
docs-beta.projectmanager.com