balena-supervisor/test/integration
Christina Ying Wang d6298b2643 Use regenerateKey action for POST /v1/regenerate-api-key
This also adds a 500 response with the old key if the API key
refresh was unsuccessful. Previously, if the key refresh was
unsuccessful, this would result in an UnhandledPromiseRejection.
This is a new interface.

Signed-off-by: Christina Ying Wang <christina@balena.io>
2023-01-09 16:25:27 -08:00
..
compose Simplify getting images for cleanup 2022-11-16 12:52:49 -08:00
config Use fatrw utility for writes to boot partition 2022-11-16 21:21:23 -03:00
device-api Use regenerateKey action for POST /v1/regenerate-api-key 2023-01-09 16:25:27 -08:00
device-state Migrate db-format tests to integration 2022-10-19 12:07:03 -03:00
lib Fix typo: intialise -> initialize 2022-11-07 12:09:17 -08:00
.mocharc.js Migrate config module tests to integration 2022-09-28 10:37:41 -03:00
config.spec.ts Enable node16 module resolution in tsconfig to ease the ESM transition 2022-11-22 11:01:03 -03:00
db.spec.ts Enable node16 module resolution in tsconfig to ease the ESM transition 2022-11-22 11:01:03 -03:00
device-config.spec.ts Use fatrw utility for writes to boot partition 2022-11-16 21:21:23 -03:00
device-state.spec.ts Use timers/promises for promisified setTimeout 2022-11-21 18:17:34 -05:00
network.spec.ts Migrate API tests to unit/integration 2022-10-25 19:06:39 +00:00
supervisor.spec.ts Run the built supervisor as part of docker-compose tests 2022-11-03 15:45:39 -03:00