We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05fbfcc commit b8198c4Copy full SHA for b8198c4
1 file changed
components/pryv/test/Connection.edge-cases.test.js
@@ -39,7 +39,8 @@ describe('[CECX] Connection Edge Cases', function () {
39
it('[CERC] constructor throws on invalid service param', function () {
40
let error = null;
41
try {
42
- pryv.Connection(testData.apiEndpointWithToken, { notAService: true });
+ const _conn = new pryv.Connection(testData.apiEndpointWithToken, { notAService: true });
43
+ expect(_conn).to.not.exist; // Should not reach here
44
} catch (e) {
45
error = e;
46
}
0 commit comments