Skip to content

Commit

Permalink
WIP - Fix browser test suite
Browse files Browse the repository at this point in the history
Fixes #12081

Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
  • Loading branch information
marcdumais-work committed Jan 26, 2023
1 parent 678e335 commit fccfdd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/api-tests/src/saveable.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ describe('Saveable', function () {
try {
await fileService.delete(fileUri);
await waitForDidChangeTitle.promise;
assert.isTrue(widget.title.label.endsWith('(deleted)'), 'should be marked as deleted');
assert.isTrue(widget.title.label.endsWith('(Deleted)'), 'should be marked as deleted');
assert.isTrue(Saveable.isDirty(widget), 'should be dirty after delete');
assert.isFalse(widget.isDisposed, 'model should NOT be disposed after delete');
} finally {
Expand Down Expand Up @@ -474,7 +474,7 @@ describe('Saveable', function () {
try {
await fileService.delete(fileUri);
await waitForDidChangeTitle.promise;
assert.isTrue(widget.title.label.endsWith('(deleted)'));
assert.isTrue(widget.title.label.endsWith('(Deleted)'));
assert.isFalse(widget.isDisposed);
} finally {
widget.title.changed.disconnect(listener);
Expand Down

0 comments on commit fccfdd2

Please sign in to comment.