test: make test apps' name prefixed with electron-test- (#33511)

This commit is contained in:
Cheng Zhao 2022-03-31 02:17:34 +09:00 committed by GitHub
parent a508dce1bf
commit 929fc8bea5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 26 additions and 50 deletions

View file

@ -1130,7 +1130,7 @@ describe('session module', () => {
session.defaultSession.setCodeCachePath('');
}).to.throw('Absolute path must be provided to store code cache.');
expect(() => {
session.defaultSession.setCodeCachePath(path.join(app.getPath('userData'), 'test-code-cache'));
session.defaultSession.setCodeCachePath(path.join(app.getPath('userData'), 'electron-test-code-cache'));
}).to.not.throw();
});
});