Skip to content

Commit

Permalink
Work on fixing tests
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
  • Loading branch information
tsmaeder committed Feb 8, 2024
1 parent a5d338f commit 641cdda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/api-tests/src/saveable.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

// @ts-check
describe('Saveable', function () {
this.timeout(5000);
this.timeout(30000);

const { assert } = chai;

Expand Down
2 changes: 1 addition & 1 deletion examples/api-tests/src/typescript.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ SPAN {
const view = await pluginViewRegistry.openView('references-view.tree', { reveal: true });
const expectedMessage = referenceViewCommand === 'references-view.find' ? '2 results in 1 file' : '1 result in 1 file';
const getResultText = () => view.node.getElementsByClassName('theia-TreeViewInfo').item(0)?.textContent;
await waitForAnimation(() => getResultText() === expectedMessage, 5000);
await waitForAnimation(() => getResultText() === expectedMessage, 10000);
assert.equal(getResultText(), expectedMessage);
});
}
Expand Down

0 comments on commit 641cdda

Please sign in to comment.