fix: use correct userData path when unbundled (#30113)
This commit is contained in:
parent
4db7221c7d
commit
bec47f54f4
7 changed files with 32 additions and 36 deletions
|
@ -924,6 +924,10 @@ describe('app module', () => {
|
|||
expect(app.getPath('recent')).to.equal('C:\\fake-path');
|
||||
});
|
||||
}
|
||||
|
||||
it('uses the app name in getPath(userData)', () => {
|
||||
expect(app.getPath('userData')).to.include(app.name);
|
||||
});
|
||||
});
|
||||
|
||||
describe('setPath(name, path)', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue