Mathew

Results 11 issues of Mathew

new version of chai is ESM only, move to ESM and update dependencies.

enhancement

./runMocha.sh should accept a flag to bail on tests when the first failure occurs. (make sure processes in the after() function still get called) look into the timeout flag vs...

tests

For example a temporary collection in getCollections is made like this: 'tempCollection' + Math.floor(Math.random() * 1000), Should not use the Math() library in favor of a UUID.

enhancement

Mocha tests use XML2JS library, could rid of that dependency using libraries/tools already in the stig-manager api.

enhancement
tests

API needs to ensure that API endpoints follow consistent and appropriate HTTP status codes for various scenarios, especially when dealing with resources that do not exist. Specifically, we want to...

API
OAS

resolves #1442 resolves #1589 This PR relocates `importOptions` from `collection.metadata` to `collection.settings`. Includes: - Migration logic to move existing `importOptions` from metadata to settings - UI changes to support the...

API
OAS
DB
breaking

this discussion was started based on https://github.com/NUWCDIVNPT/stig-manager/pull/1517 This should probably become its own new section of our tests directory structure. - We need to add tests in a CI workflow...

tests
workflow