Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('includes braintreeLibraryVersion', function () {
var postArgs;
analytics.sendEvent(this.client, 'test.event.kind');
expect(this.client._request).to.have.been.called;
postArgs = this.client._request.firstCall.args;
expect(postArgs[0].data.braintreeLibraryVersion).to.equal(braintreeClientVersion);
});
});