Skip to content

Require less cleanup after updating Acuant#8306

Merged
matthinz merged 5 commits intomainfrom
matthinz/acuant-11.8.2-cleanup
May 2, 2023
Merged

Require less cleanup after updating Acuant#8306
matthinz merged 5 commits intomainfrom
matthinz/acuant-11.8.2-cleanup

Conversation

@matthinz
Copy link
Contributor

🎫 Ticket

LG-9566

🛠 Summary of changes

We have a few places in the codebase where we refer to specific versions of the Acuant SDK. This means we have to make additional code updates after upgrading the SDK. This PR attempts to reduce the amount of cleanup work necessary by:

  • Updating frontend JS specs to just test all Acuant versions present in git rather than hardcoding a version
  • Removing a couple other unnecessary hardcoded references to the Acuant SDK

@matthinz matthinz requested a review from a team April 28, 2023 17:12
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, big win

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

matthinz and others added 5 commits April 28, 2023 13:10
(This is a cleanup commit)

[skip changelog]
- Remove references to specific version numbers
- Test all versions present in the git repo
- Just test loading in JSDOM session (don't bother importing)
In actual use these are derived from the `data-acuant-version` on the `.document-capture-form`. All views that render the doc capture form provide this data.
The version number doesn't actually matter for this test, so remove the desire to update it when we upgrade the Acuant SDK
…dk-spec.js

Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>
@matthinz matthinz force-pushed the matthinz/acuant-11.8.2-cleanup branch from 8cc6d95 to 1c6af6d Compare April 28, 2023 20:12
Copy link
Contributor

@jskinne3 jskinne3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea!

@matthinz matthinz merged commit f837331 into main May 2, 2023
@matthinz matthinz deleted the matthinz/acuant-11.8.2-cleanup branch May 2, 2023 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants