Closed ctrlc03 closed 1 year ago
Implemented e2e and unit tests for the Setup action. This PR includes test utilities which can be reused for other tests.
Tests:
e2e/01-setup.test.ts
unit:
storage.ts
unit/storage.test.ts
Renamed lib.utils.test.ts to helpers.utils.test.ts
lib.utils.test.ts
helpers.utils.test.ts
Note: the cloud function SetupCeremony now returns the ceremony Id (test env requires reload and clean up)
fix #276
Implemented e2e and unit tests for the Setup action. This PR includes test utilities which can be reused for other tests.
Tests:
e2e/01-setup.test.ts
unit:
storage.ts
file which include functions used for setting up a ceremony and more) ->unit/storage.test.ts
Renamed
lib.utils.test.ts
tohelpers.utils.test.ts
Note: the cloud function SetupCeremony now returns the ceremony Id (test env requires reload and clean up)
fix #276