Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Commit ff7018a

Browse files
authored
Fix base path postfix (#17)
* Fix basePath postfix * Update dependencies
1 parent 7e92ce7 commit ff7018a

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

package-lock.json

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@
2828
"signal-exit": "^3.0.3",
2929
"spawnd": "^4.4.0",
3030
"tree-kill": "^1.2.2",
31-
"wait-on": "^5.0.1"
31+
"wait-on": "^5.0.3"
3232
},
3333
"devDependencies": {
3434
"@types/cwd": "^0.10.0",
3535
"@types/exit": "^0.1.31",
3636
"@types/prompts": "^2.0.8",
3737
"@types/signal-exit": "^3.0.0",
3838
"@types/wait-on": "^4.0.0",
39-
"typescript": "^3.9.5"
39+
"typescript": "^3.9.6"
4040
}
4141
}

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function getIsPortTaken(config: JestProcessManagerOptions) {
135135

136136
const basePathUrlPostfix = (basePath?: string): string => {
137137
if (basePath) {
138-
if (basePath.includes('/')) {
138+
if (basePath.startsWith('/')) {
139139
return basePath
140140
}
141141
return `/${basePath}`

0 commit comments

Comments
 (0)