Skip to content

Commit

Permalink
test: fix User has no consent stored
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtPooki committed Jul 12, 2023
1 parent 968eb85 commit dc52e2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/node/NodeMetricsProvider.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ describe('NodeMetricsProvider', function () {
await telemetry.addConsent('performance')
ensureCall({ spy: storageProviderStub.getStore, callCount: 1 })
ensureCall({ spy: countlyStub.add_consent, callCount: 2, callIndex: 1, expectedArgs: ['performance'] })
ensureCall({ spy: storageProviderStub.setStore, callCount: 2, callIndex: 0, expectedArgs: ['minimal', 'performance'] })
ensureCall({ spy: storageProviderStub.setStore, callCount: 2, callIndex: 1, expectedArgs: ['minimal', 'performance'] })
})

it('User has multiple consents stored', async function () {
Expand Down

0 comments on commit dc52e2f

Please sign in to comment.