The Wayback Machine - https://web.archive.org/web/20201024174706/https://github.com/balena-io-modules/analytics-client/pull/24
Skip to content
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

Call identify on re-engagement #24

Merged
merged 1 commit into from Jun 12, 2020
Merged

Conversation

@iamsolankiamit
Copy link
Member

@iamsolankiamit iamsolankiamit commented Jun 12, 2020

Change-type: minor
Signed-off-by: Amit Solanki amit@balena.io

@iamsolankiamit iamsolankiamit requested a review from roman-mazur Jun 12, 2020
@@ -81,5 +81,11 @@ describe('LocalExperiment', () => {
exp.engage('test-device-1');
expect(identifyCallsCount).toStrictEqual(1);
});

it('sets user property on re-engage', () => {

This comment has been minimized.

@roman-mazur

roman-mazur Jun 12, 2020
Collaborator

This test may be run in parallel with the previous one. Let's better move the second call directly to the original test:

exp.engage('test-device-1');
expect(identifyCallsCount).toStrictEqual(1);
exp.engage('test-device-1');
expect(identifyCallsCount).toStrictEqual(2);
Change-type: minor
Signed-off-by: Amit Solanki <amit@balena.io>
@iamsolankiamit iamsolankiamit force-pushed the fix-experiment-identify branch from 2640f5e to e9274ff Jun 12, 2020
Copy link
Collaborator

@roman-mazur roman-mazur left a comment

Thanks!

@bulldozer-balena bulldozer-balena bot merged commit a3c7857 into master Jun 12, 2020
9 checks passed
9 checks passed
ResinCI/check-commits/commits Commits checks passed
Details
ResinCI/check-files/license License check passed
Details
ResinCI/check-files/readme Readme check passed
Details
ResinCI/check-versionist/versionist Automatic versioning can be performed
Details
ResinCI/npm/linux-alpine-x86_64-node10 Done!
Details
ResinCI/npm/linux-alpine-x86_64-node12 Done!
Details
ResinCI/npm/linux-alpine-x86_64-node8 Done!
Details
ResinCI/npm/store-npm Npm package stored
Details
ResinCI/store-github/store-github Will successfully increase version on master
Details
@roman-mazur roman-mazur deleted the fix-experiment-identify branch Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.