18F/analytics-reporter

Update UA related js tests until GA4 tests are ready

scottqueen-bixal opened this issue · 0 comments

Background

Our test suite covers current application and UA requests. We need to update the test to successfuly complete after the application, query schema, and response change moving to the GA4 client.

Our test currently give coverage to functionality for scripts in

/google-analytics - makes requests
/process-results - processes/formates responses
/publish - writes to s3, postgres db

test utilities includes

/support - fixtures and mocks

and the following entry-points

analytics.test.js - module test
index.test.js - application test

User Story

As a developer, I want to run a suit of unit test(s) that cover the applications core functionality

Acceptance Criteria

The current test suit is updated to cover the application and its core script processes using GA4 client requests and responses