mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 11:22:19 +03:00
c222d1f64e
- Updated express-test to latest version with new expectEmptyBody assertion - Updated all the tests that used matchBodySnapshot for an empty body to use expectEmptyBody instead - Updated all the snapshots that were affected manually, and verified running the tests works as expected
17 lines
678 B
Plaintext
17 lines
678 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Members Stripe Connect API can do auth 1: [headers] 1`] = `
|
|
Object {
|
|
"access-control-allow-origin": "http://127.0.0.1:2369",
|
|
"cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",
|
|
"content-length": "289",
|
|
"content-type": "text/plain; charset=utf-8",
|
|
"location": StringMatching /\\^https:\\\\/\\\\/connect\\\\\\.stripe\\\\\\.com\\\\/oauth\\\\/authorize\\\\\\?response_type=code&scope=read_write&client_id=/,
|
|
"set-cookie": Array [
|
|
StringMatching /\\^ghost-admin-api-session=/,
|
|
],
|
|
"vary": "Origin, Accept, Accept-Encoding",
|
|
"x-powered-by": "Express",
|
|
}
|
|
`;
|