From 8f31088ab59e312607badbf5b9d50144ed8a24c3 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Thu, 24 Aug 2017 16:56:04 +0200 Subject: [PATCH] update test --- test/test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test.ts b/test/test.ts index fc6fad1..0d32ac7 100755 --- a/test/test.ts +++ b/test/test.ts @@ -6,16 +6,16 @@ let testAnalytics: smartanalytics.Analytics tap.test('should create a valid AnalyticsAccount', async () => { testAnalytics = new smartanalytics.Analytics({ - projectIdArg: 'pushrocks', + projectIdArg: 'sandbox', appNameArg: 'smartanalytics', apiEndPointArg: 'https://pubapi-1.lossless.one/analytics' }) }) -tap.test('should send a request to Google Analytics', async () => { +tap.test('should send a request to Lossless API endpoint', async () => { let doit = async () => { await testAnalytics.recordEvent('sandbox', { - someValue: 'someData' + trackingPurpose: 'test' }) await testAnalytics.recordEvent('sandbox', { someValue: 'someData'