mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-27 22:54:07 +00:00
fix: handle escaped forward slashes by fast-json-format library upgrade
This commit is contained in:
@@ -13,6 +13,7 @@ post {
|
||||
body:json {
|
||||
{
|
||||
"bigint": 1736184243098437392,
|
||||
"unicode": ["\u4e00","\u4e8c","\u4e09"]
|
||||
"unicode": ["\u4e00","\u4e8c","\u4e09"],
|
||||
"forwardslashes": "\/url\/path\/"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,6 +35,9 @@ test.describe.serial('JSON Response Formatting', () => {
|
||||
await expect(responseBody).toContainText('一');
|
||||
await expect(responseBody).toContainText('二');
|
||||
await expect(responseBody).toContainText('三');
|
||||
|
||||
// The response should handle escaped forward slashes
|
||||
await expect(responseBody).toContainText('/url/path/');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user