@theia/api-tests 1.42.1 → 1.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@theia/api-tests",
3
- "version": "1.42.1",
3
+ "version": "1.43.0",
4
4
  "description": "Theia API tests",
5
5
  "dependencies": {
6
- "@theia/core": "1.42.1"
6
+ "@theia/core": "1.43.0"
7
7
  },
8
8
  "license": "EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0",
9
9
  "repository": {
@@ -20,5 +20,5 @@
20
20
  "publishConfig": {
21
21
  "access": "public"
22
22
  },
23
- "gitHead": "07502c238094ccd80bcdf3f74f7eec973fd7a4fc"
23
+ "gitHead": "c94caea7fe1cc7c9f05b1c3f55afb6b5eb69bbb2"
24
24
  }
@@ -245,7 +245,7 @@ describe('Saveable', function () {
245
245
  shouldSave: () => true
246
246
  });
247
247
  assert.isTrue(outOfSync, 'file should be out of sync');
248
- assert.isTrue(widget.isDisposed, 'model should be disposed after close');
248
+ assert.isFalse(widget.isDisposed, 'model should not be disposed after close when we reject the save');
249
249
  const state = await fileService.read(fileUri);
250
250
  assert.equal(state.value, 'foo2', 'fs should NOT be updated');
251
251
  });