mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-08-16 14:40:23 +03:00
Run flaky spec only on linux
This commit is contained in:
parent
ceb97f909f
commit
50003deca1
@ -5624,7 +5624,9 @@ describe('TextEditorComponent', () => {
|
||||
expect(component.getScrollTopRow()).toBe(4);
|
||||
});
|
||||
|
||||
it('gracefully handles the editor being hidden after a styling change', async () => {
|
||||
it('gracefully handles the editor being hidden after a styling change', async (done) => {
|
||||
jasmine.filterByPlatform({only: ['linux']}, done);
|
||||
|
||||
const { component, element } = buildComponent({
|
||||
autoHeight: false
|
||||
});
|
||||
@ -5633,6 +5635,8 @@ describe('TextEditorComponent', () => {
|
||||
TextEditor.didUpdateStyles();
|
||||
element.style.display = 'none';
|
||||
await component.getNextUpdatePromise();
|
||||
|
||||
done();
|
||||
});
|
||||
|
||||
it('does not throw an exception when the editor is soft-wrapped and changing the font size changes also the longest screen line', async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user