mirror of https://github.com/Seich/Beau.git
31 lines
713 B
Plaintext
31 lines
713 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Beau's plugin system Request Modifiers should modify the request and response using modifiers. 1`] = `
|
|
Object {
|
|
"body": "Hello World",
|
|
"request": Object {
|
|
"body": undefined,
|
|
"endpoint": "http://example.com/user",
|
|
"headers": Object {
|
|
"preRequestModifier": true,
|
|
},
|
|
},
|
|
"response": Object {
|
|
"body": "Hello World",
|
|
"headers": Array [],
|
|
"status": 200,
|
|
},
|
|
}
|
|
`;
|
|
|
|
exports[`Beau's plugin system shouldn't do anything when given an empty array. 1`] = `
|
|
Plugins {
|
|
"context": Object {},
|
|
"registry": Object {
|
|
"dynamicValues": Array [],
|
|
"postRequestModifiers": Array [],
|
|
"preRequestModifiers": Array [],
|
|
},
|
|
}
|
|
`;
|