-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Accumulate Events #65
Changes from 15 commits
ee49b2a
d07079d
ccece9b
f1da631
06ef5a9
525234c
b8cde72
882075f
6a59727
dd6a6cb
1802c4e
9e62d8f
ded115c
719519c
c459dcb
d23fcb6
db97c66
a28bc36
5791d84
98a7ab2
90b37ba
eb5ae38
f638eb8
1238a5f
6bd68c6
7c07a7d
4fe767b
9eea9a5
2722ec2
8eb34e9
d34928b
772018d
2313806
8c4f560
c999b06
fbaa4f3
dfc72df
c2c4277
a0242f9
ab218ab
3549175
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/* eslint-disable @typescript-eslint/no-unused-expressions */ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we shouldn't need this one here if we're ignoring this rule in tests? but we probably shouldn't disable it completely in all tests.. I'm good with it either way.. eslint can be painful in test code. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
seems to drive eslint crazy, I can look at this later. |
||
import { ensureCall, expect, sinon } from '../testUtils.js' | ||
import CountlyNodeSdk from 'countly-sdk-nodejs' | ||
import { NodeMetricsProvider } from '../../src/NodeMetricsProvider.js' | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to revert this. appKey is not a valid argument for metricsService.init
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's not typechecked as expected, I fixed it like:
I should throw if
appKey
is missing?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea we should. we can handle in a separate PR though.