aboutsummaryrefslogtreecommitdiff
path: root/e2e/lib
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2020-02-03 21:28:12 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2020-02-03 21:55:47 +0900
commit4d5573356e30721431b74351d93691d6ce4da4a8 (patch)
tree0a5b8605627d3b122f912eab813da136d02e56aa /e2e/lib
parent818ba9ea1a6c46036a7ed448861217e63d3aa5be (diff)
Store settings in sync storage
Diffstat (limited to 'e2e/lib')
-rw-r--r--e2e/lib/SettingRepository.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/e2e/lib/SettingRepository.ts b/e2e/lib/SettingRepository.ts
index 9d5d5aa..3bdf6d2 100644
--- a/e2e/lib/SettingRepository.ts
+++ b/e2e/lib/SettingRepository.ts
@@ -8,7 +8,7 @@ export default class SettingRepository {
}
async saveJSON(settings: Settings): Promise<void> {
- await this.browser.storage.local.set({
+ await this.browser.storage.sync.set({
settings: {
source: SettingSource.JSON,
json: JSONTextSettings.fromSettings(settings).toJSONText(),