Skip to content

Commit 0d23218

Browse files
author
rocketraccoon
committed
chore: fixes
1 parent 5b442a9 commit 0d23218

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/config/browser-options.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,9 @@ function buildBrowserOptions(defaultFactory, extra) {
445445
}),
446446

447447
stateOpts: section({
448-
path: options.optionalString("stateOpts.path"),
448+
path: option({
449+
defaultValue: defaultFactory("stateOpts.path"),
450+
}),
449451
cookies: options.optionalBoolean("stateOpts.cookies"),
450452
localStorage: options.optionalBoolean("stateOpts.localStorage"),
451453
sessionStorage: options.optionalBoolean("stateOpts.sessionStorage"),

src/config/defaults.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ module.exports = {
2121
stopOnFirstFail: false,
2222
},
2323
stateOpts: {
24+
path: null,
2425
cookies: true,
2526
localStorage: true,
2627
sessionStorage: true,

0 commit comments

Comments
 (0)