Skip to content

Commit 7ff0466

Browse files
committed
Removed unnecessary changes
1 parent d982694 commit 7ff0466

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

packages/data-connect/src/core/QueryManager.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ export class QueryManager {
118118
};
119119
const unsubscribe = (): void => {
120120
const trackedQuery = this._queries.get(key)!;
121-
// TODO: Trigger onComplete
122121
trackedQuery.subscriptions = trackedQuery.subscriptions.filter(
123122
sub => sub !== subscription
124123
);

packages/data-connect/test/queries.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
import { expect, use } from 'chai';
1919
import chaiAsPromised from 'chai-as-promised';
20-
import sinonChai from 'sinon-chai';
2120

2221
import {
2322
connectDataConnectEmulator,
@@ -39,7 +38,6 @@ import {
3938
import { getConnectionConfig, initDatabase, PROJECT_ID } from './util';
4039

4140
use(chaiAsPromised);
42-
use(sinonChai);
4341

4442
interface Post {
4543
id: string;
@@ -130,7 +128,6 @@ describe('DataConnect Tests', async () => {
130128
});
131129
expect(res.source).to.eq(SOURCE_SERVER);
132130
});
133-
134131
it(`returns the result source as cache when data already exists`, async () => {
135132
const taskListQuery = getPostsRef();
136133
const queryResult = await executeQuery(taskListQuery);

0 commit comments

Comments
 (0)