Skip to content

Commit baf15c1

Browse files
authored
chore: native module stream test dummy (#6002)
1 parent d336c4e commit baf15c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/cubejs-backend-native/test/sql.test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,17 @@ describe('SQLInterface', () => {
9696
throw new Error('Please specify user');
9797
});
9898

99+
const stream = jest.fn(async ({ request, session }) => {
100+
// TODO:
101+
});
102+
99103
const instance = await native.registerInterface({
100104
// nonce: '12345678910111213141516'.substring(0, 20),
101105
port: 4545,
102106
checkAuth,
103107
load,
104108
meta,
109+
stream,
105110
});
106111
console.log(instance);
107112

0 commit comments

Comments
 (0)