Skip to content

Commit

Permalink
test: add test for redirect chain with capture
Browse files Browse the repository at this point in the history
  • Loading branch information
hassy committed Aug 17, 2022
1 parent 7b5b500 commit 08f73b9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion test/core/unit/engine_http.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,17 @@ test('HTTP engine', function (tap) {
},
scenarios: [
{
flow: [{ get: { url: '/foo' } }]
flow: [
{
get: {
url: '/foo',
capture: {
json: '$',
as: 'jsonBody'
}
}
}
]
}
]
};
Expand Down

0 comments on commit 08f73b9

Please sign in to comment.