Skip to content

Commit 6f5ba82

Browse files
committed
Update tests
1 parent 285e743 commit 6f5ba82

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

test/index.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,7 @@ describe('demo app', function () {
3636
const removeStoredPreferences = function () {
3737
const userDataPath = getUserDataPath()
3838
try {
39-
fs.unlinkSync(path.join(userDataPath, 'activeDemoButtonId.json'))
40-
} catch (error) {
41-
if (error.code !== 'ENOENT') throw error
42-
}
43-
try {
44-
fs.unlinkSync(path.join(userDataPath, 'activeSectionButtonId.json'))
39+
fs.unlinkSync(path.join(userDataPath, 'Settings'))
4540
} catch (error) {
4641
if (error.code !== 'ENOENT') throw error
4742
}

0 commit comments

Comments
 (0)