Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mock post call cant check for certain ContentType. #128

Open
spoilerdo opened this issue Oct 31, 2019 · 1 comment
Open

Mock post call cant check for certain ContentType. #128

spoilerdo opened this issue Oct 31, 2019 · 1 comment

Comments

@spoilerdo
Copy link

So I am making an Angular 8 application where I can upload different types of file (etc: .txt and .pdf). For my e2e tests I want to return different data results when I am posting a certain type of file. This can be done by looking at the ContentType header but I don't think there is a way to check for that in a mock file.

It would be really nice if this is something you can add.

@atecarlos
Copy link
Owner

Hi @spoilerdo . Thanks for the suggestion. That certainly sounds like a worthwhile feature.

At this point, I do not have the time to add new features, but I would gladly review or accept a pull request for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants