mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +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);
|
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({
|
const { component, element } = buildComponent({
|
||||||
autoHeight: false
|
autoHeight: false
|
||||||
});
|
});
|
||||||
@ -5633,6 +5635,8 @@ describe('TextEditorComponent', () => {
|
|||||||
TextEditor.didUpdateStyles();
|
TextEditor.didUpdateStyles();
|
||||||
element.style.display = 'none';
|
element.style.display = 'none';
|
||||||
await component.getNextUpdatePromise();
|
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 () => {
|
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