You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I have a use case on my feature tests where I usually specify the response body in a doc string such as:
And the response body should be:
"""json
{
"errors": [{
"title": "field X cannot be empty",
"status": "422"
}]
}
"""
But when I run the formatter, it removes the json after the triple double quotes. But I use this to parse different types of responses. It returns:
And the response body should be:
"""
{
"errors": [{
"title": "field X cannot be empty",
"status": "422"
}]
}
"""
Describe the solution you'd like
I would love to have a flag to disable this behaviour and leave whatever I have after the """.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I have a use case on my feature tests where I usually specify the response body in a doc string such as:
But when I run the formatter, it removes the
json
after the triple double quotes. But I use this to parse different types of responses. It returns:Describe the solution you'd like
I would love to have a flag to disable this behaviour and leave whatever I have after the
"""
.The text was updated successfully, but these errors were encountered: