Skip to content

Commit

Permalink
fix: fix jsdoc default value for worker url
Browse files Browse the repository at this point in the history
Fixes the JSDoc default value for the service worker URL on the `StartOptions` interface
Actual default value is '/mockServiceWorker.js' but on JSDoc it was './mockServiceWorker.js'
  • Loading branch information
heitorlisboa authored Oct 17, 2022
1 parent 3e7c4c1 commit 9443342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/setupWorker/glossary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export interface StartOptions extends SharedOptions {
serviceWorker?: {
/**
* Custom url to the worker script.
* @default "./mockServiceWorker.js"
* @default "/mockServiceWorker.js"
*/
url?: string
options?: RegistrationOptions
Expand Down

0 comments on commit 9443342

Please sign in to comment.