HomeSoftware Heritage

cypress/origin-save: Improve tests implementation

Description

cypress/origin-save: Improve tests implementation

Summary:
Use ES6 destructuring to simulate named function parameters and improve
code readability.

Use ISO dates.

Rename "object type" to "visit type" to match swh data model.

Depends on D3873

Reviewers: Reviewers

Differential Revision: https://forge.softwareheritage.org/D3875

Details

Provenance
anlambertAuthored on Sep 3 2020, 3:26 PM
anlambertPushed on Sep 4 2020, 2:04 PM
Differential Revision
D3875: cypress/origin-save: Improve tests implementation
Parents
rDWAPPSf8a6cf8f2470: assets/origin-save: Fix handling of null visit dates in requests list
Branches
Unknown
Tags
Unknown
Build Status
Buildable 14929
Build 23003: test-and-buildJenkins console · Jenkins