@dxos/async 0.3.11-main.fc97a54 → 0.3.11-main.ff3a851

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/async",
3
- "version": "0.3.11-main.fc97a54",
3
+ "version": "0.3.11-main.ff3a851",
4
4
  "description": "Async utilities.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -18,11 +18,11 @@
18
18
  "dependencies": {
19
19
  "zen-observable": "^0.10.0",
20
20
  "zen-push": "^0.3.1",
21
- "@dxos/debug": "0.3.11-main.fc97a54",
22
- "@dxos/invariant": "0.3.11-main.fc97a54",
23
- "@dxos/context": "0.3.11-main.fc97a54",
24
- "@dxos/node-std": "0.3.11-main.fc97a54",
25
- "@dxos/util": "0.3.11-main.fc97a54"
21
+ "@dxos/context": "0.3.11-main.ff3a851",
22
+ "@dxos/debug": "0.3.11-main.ff3a851",
23
+ "@dxos/invariant": "0.3.11-main.ff3a851",
24
+ "@dxos/node-std": "0.3.11-main.ff3a851",
25
+ "@dxos/util": "0.3.11-main.ff3a851"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/zen-observable": "^0.8.3"
package/src/mutex.test.ts CHANGED
@@ -18,8 +18,8 @@ describe('Mutex', () => {
18
18
  await mutex.executeSynchronized(async () => {
19
19
  events.push('mutex');
20
20
  });
21
-
22
21
  events.push('after');
22
+
23
23
  expect(events).to.deep.equal(['mutex', 'after']);
24
24
  });
25
25
 
@@ -27,6 +27,7 @@ describe('Mutex', () => {
27
27
  const mutex = new Mutex();
28
28
 
29
29
  const value = await mutex.executeSynchronized(async () => 'foo');
30
+
30
31
  expect(value).to.equal('foo');
31
32
  });
32
33
 
@@ -141,8 +142,7 @@ describe('Mutex', () => {
141
142
  expect(error!.stack!.includes('callmutex')).to.be.true;
142
143
  }).skipEnvironments('webkit');
143
144
 
144
- // TODO(burdon): TypeError: Property [Symbol.dispose] is not a function.
145
- test.skip('works with explicit resource management syntax', async () => {
145
+ test('works with explicit resource management syntax', async () => {
146
146
  const mutex = new Mutex();
147
147
 
148
148
  const events: string[] = [];