graasp / graasp/graasp-api

[test] Action export tests rely on the s3 mock being called. This is not portable

Open
#977 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
7
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Since the actions export call is async (replies with OK directly), the actions export tests wait for the s3 upload method to be called to know when they can check for the result.

This does not work if the tests are configured to use local storage instead.

We should make tests agnostic of the storage medium used.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.