Socket
Book a DemoInstallSign in
Socket

haufe-axera-api-client

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

haufe-axera-api-client

Tests can be run using `npm test`

unpublished
npmnpm
Version
0.0.2
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Haufe.AxeraApi.Client.JS

Testing

Tests can be run using npm test

Prerequisites

  • Valid Ocp-Apim-Subscription-Key - getOcpApimSubscriptionKey() in fixtures.js
  • The domain to be used in license activation tests - getDomainName() in fixtures.js
  • Inactive license number to be activated as part of license activation tests - getLicenseNumberToBeActivated() in fixtures.js
  • LicenseIndicatorHash of a deactivated license - getDeactivatedLicenseIndicatorHash() in fixtures.js
  • Active license number - getActiveLicenseNumber() in fixtures.js
  • Active license and active counterpart license to be used in end-to-end tests - ActiveLicense.json and ActiveCounterpartLicense.json. The files should contain the decrypted data from the license activation call + the decrypted kek, i.e. it should be serialized LicenseInfo instance.

Notes

The license activation integration test requires license "reset" (deactivation of the license with license number from getLicenseNumberToBeActivated()) after every test run due to the nature of the test. If the license can be deactivated though an API call this requirement can be removed with a test cleanup deactivating the license.

FAQs

Package last updated on 24 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts