Two CI tweaks
This commit is contained in:
parent
bf45182a39
commit
a34291f9dc
2 changed files with 14 additions and 12 deletions
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2021 Signal Messenger, LLC
|
||||
// Copyright 2021-2022 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { assert } from 'chai';
|
||||
|
@ -8,6 +8,15 @@ import { scrollToBottom } from '../util/scrollToBottom';
|
|||
describe('scrollToBottom', () => {
|
||||
let sandbox: HTMLDivElement;
|
||||
|
||||
// This test seems to be flaky on Windows CI, sometimes timing out. That doesn't really
|
||||
// make sense because the test is synchronous, but this quick-and-dirty fix is
|
||||
// probably better than a full investigation.
|
||||
before(function thisNeeded() {
|
||||
if (process.platform === 'win32') {
|
||||
this.skip();
|
||||
}
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
sandbox = document.createElement('div');
|
||||
document.body.appendChild(sandbox);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue