feat(ci): CircleCI migration to Github Actions (#2516)
* Deprecated trigger-desktop-nightly repo from gitlab * Migrated Nightly builds URLs from CircleCI to S3 * Full CI/CD is handled by Github Actions --------- Co-authored-by: Tasos Boulis <tboulis@hotmail.com> Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:

committed by
GitHub

parent
8efa3480e4
commit
b62b25fdda
@@ -124,6 +124,12 @@ describe('main/views/MattermostView', () => {
|
||||
mattermostView.retryInBackground = () => retryInBackgroundFn;
|
||||
});
|
||||
|
||||
afterAll(() => {
|
||||
jest.runOnlyPendingTimers();
|
||||
jest.clearAllTimers();
|
||||
jest.useRealTimers();
|
||||
});
|
||||
|
||||
it('should do nothing when webcontents are destroyed', () => {
|
||||
const webContents = mattermostView.view.webContents;
|
||||
mattermostView.view.webContents = null;
|
||||
@@ -180,6 +186,12 @@ describe('main/views/MattermostView', () => {
|
||||
mattermostView.findUnreadState = jest.fn();
|
||||
});
|
||||
|
||||
afterAll(() => {
|
||||
jest.runOnlyPendingTimers();
|
||||
jest.clearAllTimers();
|
||||
jest.useRealTimers();
|
||||
});
|
||||
|
||||
it('should reset max retries', () => {
|
||||
mattermostView.maxRetries = 1;
|
||||
mattermostView.loadSuccess('http://server-1.com')();
|
||||
@@ -198,6 +210,12 @@ describe('main/views/MattermostView', () => {
|
||||
mattermostView.focus = jest.fn();
|
||||
});
|
||||
|
||||
afterAll(() => {
|
||||
jest.runOnlyPendingTimers();
|
||||
jest.clearAllTimers();
|
||||
jest.useRealTimers();
|
||||
});
|
||||
|
||||
it('should add browser view to window and set bounds when request is true and view not currently visible', () => {
|
||||
mattermostView.isVisible = false;
|
||||
mattermostView.show(true);
|
||||
|
Reference in New Issue
Block a user